mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
[MIRROR] Begin clickcode attack_self fix (#12173)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
063cf6cf48
commit
3cac28f9ad
@@ -327,7 +327,10 @@
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
/obj/item/holo/esword/attack_self(mob/living/user as mob)
|
||||
/obj/item/holo/esword/attack_self(mob/user)
|
||||
. = ..(user)
|
||||
if(.)
|
||||
return TRUE
|
||||
active = !active
|
||||
if (active)
|
||||
force = 30
|
||||
|
||||
Reference in New Issue
Block a user