mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 16:05:44 +00:00
Fixed possible scr_error
This commit is contained in:
parent
9832234ce8
commit
c8b5c9b307
@ -535,6 +535,9 @@ reload_thread()
|
|||||||
|
|
||||||
cur = self getCurrentWEapon();
|
cur = self getCurrentWEapon();
|
||||||
|
|
||||||
|
if (cur == "" || cur == "none")
|
||||||
|
return;
|
||||||
|
|
||||||
if(IsWeaponClipOnly(cur) || !self GetWeaponAmmoStock(cur))
|
if(IsWeaponClipOnly(cur) || !self GetWeaponAmmoStock(cur))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user