Merge pull request #11208 from mwerezak/firemode-cleanup

Fixes #10850
This commit is contained in:
GinjaNinja32
2015-09-28 11:41:03 +01:00
6 changed files with 25 additions and 22 deletions

View File

@@ -15,6 +15,9 @@
for(var/propname in properties)
var/propvalue = properties[propname]
if(propname == "mode_name")
name = propvalue
if(isnull(propvalue))
settings[propname] = gun.vars[propname] //better than initial() as it handles list vars like burst_accuracy
else