function RoomManager._updateStatusValues()local I=0 local B=0 for E,i in pairs(rooms:getAll())do if i:isBreached()then I=I+1 else B=B+1 end end roomsBreached.Value=I roomsSecure.Value=B end

function RoomManager._updateStatusValues()
	local breachedRooms = 0
	local secureRooms = 0

	for _, room in pairs(rooms:getAll()) do
		if room:isBreached() then
			breachedRooms = breachedRooms + 1
		else
			secureRooms = secureRooms + 1
		end
	end

	roomsBreached.Value = breachedRooms
	roomsSecure.Value = secureRooms
end
