Fix runtime with brains and throwmode

This commit is contained in:
Boop
2014-06-18 12:31:53 +01:00
parent 342bee81d4
commit 1b7acdb147

View File

@@ -252,10 +252,12 @@
/mob/living/carbon/proc/throw_mode_off() /mob/living/carbon/proc/throw_mode_off()
src.in_throw_mode = 0 src.in_throw_mode = 0
if(src.throw_icon) //in case we don't have the HUD and we use the hotkey
src.throw_icon.icon_state = "act_throw_off" src.throw_icon.icon_state = "act_throw_off"
/mob/living/carbon/proc/throw_mode_on() /mob/living/carbon/proc/throw_mode_on()
src.in_throw_mode = 1 src.in_throw_mode = 1
if(src.throw_icon)
src.throw_icon.icon_state = "act_throw_on" src.throw_icon.icon_state = "act_throw_on"
/mob/proc/throw_item(atom/target) /mob/proc/throw_item(atom/target)