Merge pull request #34478 from ChangelingRain/runtimefix

Fixes a variety of runtimes that happen if a servant tries to access scripture without servants being properly active
This commit is contained in:
Jordan Brown
2018-01-16 09:32:00 -05:00
committed by CitadelStationBot
parent ade3ded854
commit af857d0c0b
@@ -11,9 +11,9 @@
//reports to servants when scripture is locked or unlocked
/proc/scripture_unlock_alert(list/previous_states)
. = scripture_unlock_check()
if(!GLOB.servants_active)
return
. = scripture_unlock_check()
for(var/i in .)
if(.[i] != previous_states[i])
update_slab_info()