Shooting while on help intent no longer auto switches to hostage mode

This commit is contained in:
mwerezak
2015-07-04 10:47:56 -04:00
parent ef538f2a8c
commit 8d1e669588

View File

@@ -126,12 +126,7 @@
//decide whether to aim or shoot normally
var/aiming = 0
if(user && user.client && !(A in aim_targets))
var/client/C = user.client
//If help intent is on and we have clicked on an eligible target, switch to aim mode automatically
if(user.a_intent == I_HELP && isliving(A) && !C.gun_mode)
C.ToggleGunMode()
if(C.gun_mode)
if(user.client.gun_mode)
aiming = PreFire(A,user,params) //They're using the new gun system, locate what they're aiming at.
if (!aiming)