hedgewars/uConsole.pas
changeset 2786 85f6425a4d74
parent 2747 7889a3a9724f
child 2855 7e6adeb57427
--- a/hedgewars/uConsole.pas	Tue Feb 09 21:51:52 2010 +0000
+++ b/hedgewars/uConsole.pas	Wed Feb 10 00:55:40 2010 +0000
@@ -38,7 +38,7 @@
 
 implementation
 uses uMisc, uStore, Types, uConsts, uGears, uTeams, uIO, uKeys, uWorld, uLand,
-     uRandom, uAmmos, uTriggers, uStats, uGame, uChat, SDLh, uSound, uVisualGears;
+     uRandom, uAmmos, uTriggers, uStats, uGame, uChat, SDLh, uSound, uVisualGears, uScript;
 
 const cLineWidth: LongInt = 0;
       cLinesCount = 256;
@@ -305,6 +305,7 @@
 	RegisterVariable('+cur_r'  , vtCommand, @chCurR_p       , true );
 	RegisterVariable('-cur_r'  , vtCommand, @chCurR_m       , true );
 	RegisterVariable('flag'    , vtCommand, @chFlag         , false);
+	RegisterVariable('script'  , vtCommand, @chScript       , false);
 end;
 
 procedure free_uConsole;