Attempts to fix indoor rain.

This commit is contained in:
Neerti
2018-07-17 21:30:02 -04:00
parent 7d6e8bc9b7
commit d3754f8bfc
3 changed files with 5 additions and 6 deletions
+3 -2
View File
@@ -56,6 +56,7 @@ SUBSYSTEM_DEF(planets)
P.planet_floors -= T
else
P.planet_walls -= T
T.vis_contents -= P.weather_holder.visuals
/datum/controller/subsystem/planets/proc/allocateTurfs(var/initial = FALSE)
var/list/currentlist = new_outdoor_turfs
@@ -113,9 +114,9 @@ SUBSYSTEM_DEF(planets)
while(currentrun.len)
var/datum/planet/P = currentrun[currentrun.len]
currentrun.len--
P.process(last_fire)
//Sun light needs changing
if(P.needs_work & PLANET_PROCESS_SUN)
P.needs_work &= ~PLANET_PROCESS_SUN