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

This commit is contained in:
Casey
2022-06-30 22:59:57 +00:00
committed by CHOMPStation2
parent a34b97046c
commit 84e6bfd922
7 changed files with 28 additions and 4 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