]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - commands.cfg
Add an argument to spectate command, to allow spectating specific players
[xonotic/xonotic-data.pk3dir.git] / commands.cfg
index a8de9b95cb842512272a49bed77a2c1e4b026d6a..93b68f901e57154ec7512a2d98830fce7ec168ad 100644 (file)
@@ -172,7 +172,7 @@ alias team_pink "cmd selectteam pink; cmd join"
 alias team_yellow "cmd selectteam yellow; cmd join"
 alias team_auto "cmd selectteam auto; cmd join"
 
-alias spec "spectate"
+alias spec "spectate ${* ?}"
 
 // mutator aliases
 alias sandbox "cmd g_sandbox ${* ?}"