mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-06-26 22:31:49 +00:00
Fixed possible scr_error
This commit is contained in:
@ -487,6 +487,9 @@ reload_thread()
|
||||
return;
|
||||
|
||||
cur = self getCurrentWEapon();
|
||||
|
||||
if (cur == "" || cur == "none")
|
||||
return;
|
||||
|
||||
if(IsWeaponClipOnly(cur) || !self GetWeaponAmmoStock(cur))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user