mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 17:32:54 +00:00
Fixed possible scr_error
This commit is contained in:
parent
67b233a98c
commit
f3fc6d5133
@ -487,6 +487,9 @@ reload_thread()
|
||||
return;
|
||||
|
||||
cur = self getCurrentWEapon();
|
||||
|
||||
if (cur == "" || cur == "none")
|
||||
return;
|
||||
|
||||
if(IsWeaponClipOnly(cur) || !self GetWeaponAmmoStock(cur))
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user