tiny lua documentation fix
authorsheepluva
Wed, 11 Jun 2014 13:45:44 +0200
changeset 10278 cf3ff506734e
parent 10277 b325e36f8e54
child 10279 b75e7ebfbe11
tiny lua documentation fix
hedgewars/uScript.pas
--- 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,