mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[s] [HOTFIX] Being bumped into and not just bumping into people makes you visible as agent box (#39514)
* revert when done * cyberboss * oh god it's all fucked * fixes agent box
This commit is contained in:
@@ -26,10 +26,16 @@
|
||||
/obj/structure/closet/cardboard/agent/process()
|
||||
alpha = max(0, alpha - 50)
|
||||
|
||||
/obj/structure/closet/cardboard/agent/proc/reveal()
|
||||
alpha = 255
|
||||
addtimer(CALLBACK(src, .proc/go_invisible), 10, TIMER_UNIQUE)
|
||||
|
||||
/obj/structure/closet/cardboard/agent/Bump(atom/movable/A)
|
||||
. = ..()
|
||||
if(isliving(A))
|
||||
alpha = 255
|
||||
addtimer(CALLBACK(src, .proc/go_invisible), 10, TIMER_UNIQUE)
|
||||
|
||||
reveal()
|
||||
|
||||
/obj/structure/closet/cardboard/agent/Bumped(atom/movable/A)
|
||||
. = ..()
|
||||
if(isliving(A))
|
||||
reveal()
|
||||
|
||||
Reference in New Issue
Block a user