POLARIS: Fix mode_name on guns always being null

This commit is contained in:
Arokha Sieyes
2018-02-22 19:58:19 -05:00
parent a47ce58f0a
commit 3680b0382a

View File

@@ -18,7 +18,7 @@
if(propname == "mode_name")
name = propvalue
else if(isnull(propvalue))
if(isnull(propvalue))
settings[propname] = gun.vars[propname] //better than initial() as it handles list vars like burst_accuracy
else
settings[propname] = propvalue