author | alfadur |
Tue, 03 Jul 2018 22:39:12 +0300 | |
changeset 13441 | e4fbf2ec9f8a |
parent 13440 | 2e5a5eee8d80 (current diff) |
parent 13439 | 745e9174038e (diff) |
child 13442 | a0c3431f60ac |
--- a/hedgewars/uScript.pas Tue Jul 03 22:37:15 2018 +0300 +++ b/hedgewars/uScript.pas Tue Jul 03 22:39:12 2018 +0300 @@ -970,7 +970,9 @@ if not lua_isnoneornil(L, 10) then vg^.Timer:= Trunc(lua_tonumber(L, 10)); if not lua_isnoneornil(L, 11) then - vg^.Tint:= Trunc(lua_tonumber(L, 11)) + vg^.Tint:= Trunc(lua_tonumber(L, 11)); + if not lua_isnoneornil(L, 12) then + vg^.Scale:= Trunc(lua_tonumber(L, 12)) end; // end // else