mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Runtime fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user