changeset 13453 | 7d69c5605a9d |
parent 13452 | f38b72d64157 |
child 13458 | 7a0a56c52fd2 |
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Sat Jul 07 22:48:56 2018 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Sat Jul 07 22:50:08 2018 +0200 @@ -200,7 +200,7 @@ end for w,c in pairs(wepArray) do - val = getGearValue(gear,w) + local val = getGearValue(gear,w) if val ~= 0 and (multiUse or (wepArray[w] ~= 9 and getGearValue(CurrentHedgehog, w) == 0)) then setGearValue(CurrentHedgehog, w, val)