whoops, pas2c I owe you
authorsheepluva
Fri, 13 Jun 2014 12:22:24 +0200
changeset 10294 d98336fcd13d
parent 10293 201ea4989985
child 10295 ec6b68241575
whoops, pas2c I owe you
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Fri Jun 13 06:26:31 2014 +0200
+++ b/hedgewars/uScript.pas	Fri Jun 13 12:22:24 2014 +0200
@@ -883,7 +883,6 @@
 var gear : PGear;
 begin
     if CheckLuaParameterCount(L, 2, 'SetGearMessage', 'gearUid, message') then
-    else
         begin
         gear:= GearByUID(lua_tointeger(L, 1));
         if gear <> nil then