mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Matt's Bugfix Galore (#9816)
This commit is contained in:
@@ -25,15 +25,18 @@
|
||||
if(usr.stat || usr.restrained())
|
||||
return
|
||||
|
||||
src.flipped = !src.flipped
|
||||
if(src.flipped)
|
||||
src.item_state = "[item_state]_alt"
|
||||
flipped = !flipped
|
||||
if(flipped)
|
||||
overlay_state = "[item_state]_alt"
|
||||
item_state = "[item_state]_alt"
|
||||
else
|
||||
src.item_state = initial(item_state)
|
||||
to_chat(usr, "You change \the [src] to be on your [src.flipped ? "left" : "right"] hand.")
|
||||
if(ismob(src.loc))
|
||||
item_state = initial(item_state)
|
||||
overlay_state = initial(overlay_state)
|
||||
to_chat(usr, SPAN_NOTICE("You change \the [src] to be on your [src.flipped ? "left" : "right"] hand."))
|
||||
if(ismob(loc))
|
||||
var/mob/M = src.loc
|
||||
M.update_inv_gloves()
|
||||
M.update_inv_wear_id()
|
||||
|
||||
/obj/item/modular_computer/CouldUseTopic(var/mob/user)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user