mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 09:03:23 +01:00
Fixed some screwwy icon stuff from the last commit, fixed an overlay not updating.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
name = "gun"
|
||||
icon = 'screen1.dmi'
|
||||
master = null
|
||||
dir = 1
|
||||
dir = 2
|
||||
|
||||
move
|
||||
name = "Allow Walking"
|
||||
@@ -52,6 +52,7 @@
|
||||
desc = "The shortcut key for this is \"F6\""
|
||||
icon_state = "gun"
|
||||
screen_loc = ui_gun_select
|
||||
dir = 1
|
||||
|
||||
/obj/screen/zone_sel/MouseDown(location, control,params)
|
||||
// Changes because of 4.0
|
||||
|
||||
@@ -319,7 +319,6 @@ mob/proc
|
||||
M << 'TargetOff.ogg'
|
||||
del(target_locked)
|
||||
targeted_by -= I
|
||||
update_clothing()
|
||||
I.target = null
|
||||
var/mob/T = I.loc
|
||||
if(T && ismob(T))
|
||||
@@ -327,6 +326,7 @@ mob/proc
|
||||
del(T.gun_move_icon)
|
||||
del(T.gun_run_icon)
|
||||
if(!targeted_by.len) del targeted_by
|
||||
spawn(1) update_clothing()
|
||||
|
||||
/* Captive(var/obj/item/weapon/gun/I)
|
||||
Sound(src,'CounterAttack.ogg')
|
||||
|
||||
Reference in New Issue
Block a user