mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
Makes all things that check for dorms check for forbid events var
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user