hedgewars/hwengine.pas
changeset 10621 b50e094d8b00
parent 10619 ee460883729e
child 10622 9551211455a3
equal deleted inserted replaced
10620:0f7dedda093b 10621:b50e094d8b00
   586         {$ELSE}
   586         {$ELSE}
   587         halt(HaltUsageError);
   587         halt(HaltUsageError);
   588         {$ENDIF}
   588         {$ENDIF}
   589 
   589 
   590     if cTestLua then
   590     if cTestLua then
       
   591         begin
       
   592         WriteLnToConsole('WARNING: Lua test terminated before the test was properly finished with EndLuaTest()!');
   591         {$IFDEF PAS2C}
   593         {$IFDEF PAS2C}
   592         exit(HaltTestUnexpected);
   594         exit(HaltTestUnexpected);
   593         {$ELSE}
   595         {$ELSE}
   594         halt(HaltTestUnexpected);
   596         halt(HaltTestUnexpected);
   595         {$ENDIF}
   597         {$ENDIF}
       
   598         end;
   596 
   599 
   597     {$IFDEF PAS2C}
   600     {$IFDEF PAS2C}
   598     exit(HaltNoError);
   601     exit(HaltNoError);
   599     {$ELSE}
   602     {$ELSE}
   600     halt(HaltNoError);
   603     halt(HaltNoError);