mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[MIRROR] Beauty is now an element. Fixing an issue with enter/exit area comsigs. (#3639)
* Beauty is now an element. Fixing an issue with enter/exit area comsigs. (#57147) Co-authored-by: Ghommie <425422238+Ghommie@ users.noreply.github.com> * Beauty is now an element. Fixing an issue with enter/exit area comsigs. Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: Ghommie <425422238+Ghommie@ users.noreply.github.com>
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
/mob/living/simple_animal/drone/snowflake/bardrone/Initialize()
|
||||
. = ..()
|
||||
access_card.access |= ACCESS_CENT_BAR
|
||||
become_area_sensitive(ROUNDSTART_TRAIT)
|
||||
RegisterSignal(src, COMSIG_ENTER_AREA, .proc/check_barstaff_godmode)
|
||||
check_barstaff_godmode()
|
||||
|
||||
@@ -165,6 +166,7 @@
|
||||
access_card.access = C.get_access()
|
||||
access_card.access |= ACCESS_CENT_BAR
|
||||
ADD_TRAIT(access_card, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT)
|
||||
become_area_sensitive(ROUNDSTART_TRAIT)
|
||||
RegisterSignal(src, COMSIG_ENTER_AREA, .proc/check_barstaff_godmode)
|
||||
check_barstaff_godmode()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user