hedgewars/uScript.pas
changeset 10278 cf3ff506734e
parent 10249 b47ac2c19de3
child 10279 b75e7ebfbe11
--- a/hedgewars/uScript.pas	Wed Jun 11 13:07:46 2014 +0200
+++ b/hedgewars/uScript.pas	Wed Jun 11 13:45:44 2014 +0200
@@ -1851,7 +1851,7 @@
 function lc_placegirder(L : Plua_State) : LongInt; Cdecl;
 begin
     if lua_gettop(L) <> 3 then
-        LuaParameterCountError('PlaceGirder', 'x, y, state', lua_gettop(L))
+        LuaParameterCountError('PlaceGirder', 'x, y, frameIdx', lua_gettop(L))
     else
         TryPlaceOnLand(
             lua_tointeger(L, 1) - SpritesData[sprAmGirder].Width div 2,