Make combat mode actually override the VM icon

This commit is contained in:
Poojawa
2019-03-27 04:23:37 -05:00
parent 181b29e08c
commit e6190fa141
2 changed files with 3 additions and 3 deletions
@@ -61,7 +61,7 @@
/obj/screen/voretoggle/proc/rebaseintomygut(mob/living/carbon/C)
if(!C)
return
if(C.voremode)
if(C.voremode && !C.combatmode)
icon_state = "nom"
else
icon_state = "nom_off"
@@ -40,12 +40,12 @@
return TRUE
mob/living/carbon/proc/toggle_vore_mode()
if(combatmode)
return FALSE //let's not override the main draw of the game these days
voremode = !voremode
if(hud_used && hud_used.static_inventory)
for(var/obj/screen/voretoggle/selector in hud_used.static_inventory)
selector.rebaseintomygut(src)
if(combatmode)
return FALSE //let's not override the main draw of the game these days
SEND_SIGNAL(src, COMSIG_VORE_TOGGLED, src, voremode)
return TRUE