changeset 13439 | 745e9174038e |
parent 13399 | 7b4726ef2308 |
child 13459 | 794dcf69a5aa |
--- a/hedgewars/uScript.pas Mon Jul 02 16:46:13 2018 +0300 +++ b/hedgewars/uScript.pas Mon Jul 02 16:48:16 2018 -0400 @@ -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