Runtime fixes

This commit is contained in:
joep van der velden
2020-03-30 16:21:35 +02:00
parent 9af501b062
commit e907c90e77
2 changed files with 6 additions and 4 deletions
+2 -4
View File
@@ -64,11 +64,9 @@
return
if(time == null)
time = rand(790, 820)
addtimer(CALLBACK(src, /turf/simulated./proc/MakeDry, wet_setting), time)
addtimer(CALLBACK(src, .proc/MakeDry, wet_setting), time)
/turf/simulated/proc/MakeDry(wet_setting = TURF_WET_WATER)
if(!istype(src, /turf/simulated)) //Because turfs don't get deleted, they change, adapt, transform, evolve and deform. they are one and they are all.
return
/turf/simulated/MakeDry(wet_setting = TURF_WET_WATER)
if(wet > wet_setting)
return
wet = TURF_DRY
+4
View File
@@ -309,6 +309,10 @@
for(var/atom/movable/AM in contents)
AM.get_spooked()
// Defined here to avoid runtimes
/turf/proc/MakeDry(wet_setting = TURF_WET_WATER)
return
/turf/proc/burn_down()
return