mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2026-10-12 06:11:26 +00:00
Fixed possible scr_error
This commit is contained in:
1 parent
67b233a98c
commit
f3fc6d5133
1 file changed
+3
@@ -488,6 +488,9 @@ reload_thread()
|
||||
|
||||
cur = self getCurrentWEapon();
|
||||
|
||||
if (cur == "" || cur == "none")
|
||||
return;
|
||||
|
||||
if(IsWeaponClipOnly(cur) || !self GetWeaponAmmoStock(cur))
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user