mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-06-27 14:51:49 +00:00
fix missing var
This commit is contained in:
@ -2167,7 +2167,7 @@ doReloadCancel()
|
||||
|
||||
curWeap = self GetCurrentWeapon();
|
||||
|
||||
if (!maps\mp\gametypes\_weapons::isSideArm( weapon ) && !maps\mp\gametypes\_weapons::isPrimaryWeapon( weapon ))
|
||||
if (!maps\mp\gametypes\_weapons::isSideArm( curWeap ) && !maps\mp\gametypes\_weapons::isPrimaryWeapon( curWeap ))
|
||||
continue;
|
||||
|
||||
if (ret == "reload")
|
||||
|
Reference in New Issue
Block a user