Lua API: Remove BorderColor variable from onGameInit
authorWuzzy <almikes@aol.com>
Tue, 10 Oct 2017 17:39:11 +0200
changeset 12688 047c5b7ec422
parent 12687 b7fd7ab8ddf9
child 12689 5f68b259305c
Lua API: Remove BorderColor variable from onGameInit Seems to be broken, returns negative value, is not used in any script, obscure feature anyway.
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);