hedgewars/uScript.pas
changeset 2924 908851e59958
parent 2905 f3c79f7193a9
child 2948 3f21a9dc93d0
--- a/hedgewars/uScript.pas	Wed Mar 03 14:49:10 2010 +0000
+++ b/hedgewars/uScript.pas	Wed Mar 03 15:04:39 2010 +0000
@@ -207,7 +207,7 @@
 		end
 	else
 		begin
-		ParseCommand('addteam ' + lua_tostring(L, 2) + ' ' + lua_tostring(L, 1), true);
+		ParseCommand('addteam x ' + lua_tostring(L, 2) + ' ' + lua_tostring(L, 1), true);
 		ParseCommand('grave ' + lua_tostring(L, 3), true);
 		ParseCommand('fort ' + lua_tostring(L, 4), true);
 		ParseCommand('voicepack ' + lua_tostring(L, 5), true);