mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2026-10-18 16:43:33 +00:00
Fixed possible scr_error
This commit is contained in:
1 parent
9832234ce8
commit
c8b5c9b307
1 file changed
+3
@@ -535,6 +535,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