diff -r c21c88dca14c -r d5e98b81e135 hedgewars/uScript.pas --- a/hedgewars/uScript.pas Sat Jun 08 23:54:44 2013 +0300 +++ b/hedgewars/uScript.pas Sun Jun 09 01:18:58 2013 +0300 @@ -1294,7 +1294,7 @@ //TODO print better error messages statInfo := TStatInfoType(GetEnumValue(TypeInfo(TStatInfoType),lua_tostring(L, 1))); if (lua_gettop(L) <> 2) and ((statInfo <> siPlayerKills) - or (statInfo <> siClanHealth)) then + and (statInfo <> siClanHealth)) then begin LuaError('Lua: Wrong number of parameters passed to SendStat!'); end