mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-03 05:52:43 +00:00
[MIRROR] Misc fixes (#10033)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3c7249d316
commit
92e9dc63d5
@@ -432,6 +432,12 @@
|
||||
circuit.construct(B)
|
||||
circuit.loc = null
|
||||
B.circuit = circuit
|
||||
var/obj/machinery/computer/LC = locate() in get_step(B, turn(B.dir, 90))
|
||||
var/obj/machinery/computer/RC = locate() in get_step(B, turn(B.dir, -90))
|
||||
if(LC)
|
||||
LC.update_icon()
|
||||
if(RC)
|
||||
RC.update_icon()
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -445,15 +451,7 @@
|
||||
circuit.construct(B)
|
||||
circuit.loc = null
|
||||
B.circuit = circuit
|
||||
|
||||
B.update_icon()
|
||||
var/obj/machinery/computer/LC = locate() in get_step(B, turn(B.dir, 90))
|
||||
var/obj/machinery/computer/RC = locate() in get_step(B, turn(B.dir, -90))
|
||||
if(LC)
|
||||
LC.update_icon()
|
||||
if(RC)
|
||||
RC.update_icon()
|
||||
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
|
||||
@@ -84,16 +84,6 @@
|
||||
else
|
||||
to_chat(usr, span_notice("You cannot do this in your current state."))
|
||||
|
||||
|
||||
/obj/item/gun/projectile/shotgun/compact/attack_self(mob/user)
|
||||
if(issilicon(user))
|
||||
return
|
||||
|
||||
if (isliving(user))
|
||||
toggle_stock()
|
||||
else
|
||||
to_chat(user, span_notice("You cannot do this in your current state."))
|
||||
|
||||
/obj/item/gun/projectile/shotgun/compact/ui_action_click(mob/unused_user, actiontype)
|
||||
var/mob/living/user = loc
|
||||
if(!isliving(user))
|
||||
|
||||
Reference in New Issue
Block a user