# HG changeset patch # User Wuzzy # Date 1507649951 -7200 # Node ID 047c5b7ec422123b455b2a016d048c8bd63143ab # Parent b7fd7ab8ddf9597f99b1981344842681f1137afa Lua API: Remove BorderColor variable from onGameInit Seems to be broken, returns negative value, is not used in any script, obscure feature anyway. diff -r b7fd7ab8ddf9 -r 047c5b7ec422 hedgewars/uScript.pas --- a/hedgewars/uScript.pas Tue Oct 10 16:13:44 2017 +0200 +++ b/hedgewars/uScript.pas Tue Oct 10 17:39:11 2017 +0200 @@ -2919,7 +2919,6 @@ // push game variables so they may be modified by the script ScriptSetInteger('CursorX', CursorPoint.X); ScriptSetInteger('CursorY', CursorPoint.Y); -ScriptSetInteger('BorderColor', ExplosionBorderColor); ScriptSetInteger('GameFlags', GameFlags); ScriptSetInteger('WorldEdge', ord(WorldEdge)); ScriptSetString('Seed', cSeed);