changeset 5964 | 44d2dc3b438f |
parent 5900 | 37516a3bdb0e |
child 5995 | 647d52370ce9 |
child 6019 | 8843ea756cfc |
--- a/hedgewars/uScript.pas Sun Sep 18 21:59:34 2011 +0200 +++ b/hedgewars/uScript.pas Mon Sep 19 14:17:33 2011 -0400 @@ -1207,6 +1207,11 @@ lua_pushinteger(L, hwRound(gear^.X)); lua_pushinteger(L, hwRound(gear^.Y)) end + else + begin + lua_pushnil(L); + lua_pushnil(L) + end; end; lc_getgearposition:= 2; end;