changeset 14236 | 74bf2d906097 |
parent 13745 | 2bb7141496a9 |
child 14370 | a7769dbd7088 |
--- a/share/hedgewars/Data/Scripts/TargetPractice.lua Mon Nov 19 00:19:21 2018 +0100 +++ b/share/hedgewars/Data/Scripts/TargetPractice.lua Mon Nov 19 00:54:36 2018 +0100 @@ -177,10 +177,10 @@ end _G.spawnTarget = function() - gear = AddGear(0, 0, gtTarget, 0, 0, 0, 0) + local gear = AddGear(0, 0, gtTarget, 0, 0, 0, 0) - x = targets[scored+1].x - y = targets[scored+1].y + local x = targets[scored+1].x + local y = targets[scored+1].y SetGearPosition(gear, x, y)