function Window.fix(C)C._state=Constants.State.Window.Normal local h=C._model:FindFirstChild("\071\108\097\115\115")h.CanCollide=true h.Material=Enum.Material.Glass h.Color=Color3.fromRGB(116,161,255)h.Transparency=.3 local g=C._associatedRoom if g:allWindowsNormal()and g:isBreached()then g:ventRoom()end DestroyMarker:FireAllClients(h)end
--[[
	Fixes the window, pressurizing the room if all windows are now fixed
]]
function Window:fix()
	self._state = Constants.State.Window.Normal

	local glass = self._model:FindFirstChild("Glass")
	glass.CanCollide = true
	glass.Material = Enum.Material.Glass
	glass.Color = Color3.fromRGB(116, 161, 255)
	glass.Transparency = 0.3

	local room = self._associatedRoom

	if room:allWindowsNormal() and room:isBreached() then
		room:ventRoom()
	end

	DestroyMarker:FireAllClients(glass)
end
