mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +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
@@ -18,6 +18,9 @@
|
||||
var/icon_on = 0
|
||||
|
||||
/obj/item/generic_item/attack_self(mob/user)
|
||||
. = ..(user)
|
||||
if(.)
|
||||
return TRUE
|
||||
if(activatable_hand)
|
||||
if(!on)
|
||||
if(delay_time)
|
||||
@@ -87,7 +90,6 @@
|
||||
if(user)
|
||||
user.visible_message(span_notice("[text_deactivated]"))
|
||||
update_icon()
|
||||
return ..()
|
||||
|
||||
/client/proc/generic_item()
|
||||
set category = "Fun.Event Kit"
|
||||
|
||||
Reference in New Issue
Block a user