Merge pull request #11006 from Ghommie/Ghommie-cit570

Something about a couple stack trace issues.
This commit is contained in:
kevinz000
2020-02-15 11:47:30 -07:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -61,7 +61,8 @@
/datum/beam/proc/recalculate_in(time)
if(timing_id)
deltimer(timing_id)
timing_id = addtimer(CALLBACK(src, .proc/recalculate), time, TIMER_STOPPABLE)
if(!finished)
timing_id = addtimer(CALLBACK(src, .proc/recalculate), time, TIMER_STOPPABLE)
/datum/beam/proc/after_calculate()
if((sleep_time == null) || finished) //Does not automatically recalculate.