Makes all things that check for dorms check for forbid events var

This commit is contained in:
Heroman
2022-07-01 06:49:55 +10:00
parent 7da0085b4c
commit e1fe4846ef
7 changed files with 18 additions and 6 deletions
@@ -365,7 +365,8 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity)
return 0
// VOREStation Edit Start
if(istype(get_area(T), /area/crew_quarters/sleep)) //No going to dorms
var/area/A = get_area(T)
if(A.forbid_events) //No going to dorms
return 0
// VOREStation Edit End