hedgewars/uCommandHandlers.pas
changeset 9985 42cd42e44c9a
parent 9902 eb8e8b09b2f0
child 9998 736015b847e3
--- a/hedgewars/uCommandHandlers.pas	Mon Jan 13 14:40:06 2014 -0500
+++ b/hedgewars/uCommandHandlers.pas	Tue Jan 14 12:44:29 2014 +0400
@@ -121,7 +121,8 @@
 
 procedure chScriptParam(var s: shortstring);
 begin
-    cScriptParam:= s;
+    ScriptSetString('ScriptParam', s);
+    ScriptCall('onParameters');
 end;
 
 procedure chCurU_p(var s: shortstring);