Fixed some screwwy icon stuff from the last commit, fixed an overlay not updating.

This commit is contained in:
SkyMarshal
2012-03-03 15:22:33 -07:00
parent 1107f6e768
commit c2bf323caa
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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')