Merge pull request #4869 from Citadel-Station-13/upstream-merge-34478

[MIRROR] Fixes a variety of runtimes that happen if a servant tries to access scripture without servants being properly active
This commit is contained in:
LetterJay
2018-01-16 13:48:57 -06:00
committed by GitHub

View File

@@ -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()