r5190 - trunk/data/qcsrc/common
esteel at icculus.org
esteel at icculus.org
Thu Dec 11 09:42:14 EST 2008
Author: esteel
Date: 2008-12-11 09:42:14 -0500 (Thu, 11 Dec 2008)
New Revision: 5190
Modified:
trunk/data/qcsrc/common/gamecommand.qc
Log:
added sv_cmd suggestmap.. admins wanna have fun too :P
Modified: trunk/data/qcsrc/common/gamecommand.qc
===================================================================
--- trunk/data/qcsrc/common/gamecommand.qc 2008-12-11 13:18:04 UTC (rev 5189)
+++ trunk/data/qcsrc/common/gamecommand.qc 2008-12-11 14:42:14 UTC (rev 5190)
@@ -79,6 +79,7 @@
print(" maplist add map\n");
print(" maplist remove map\n");
print(" maplist shuffle\n");
+ print(" suggestmap map\n");
return TRUE;
}
@@ -561,6 +562,8 @@
}
return TRUE;
#endif
+ } else if(argv(0) == "suggestmap") {
+ sprint(self, strcat(MapVote_Suggest(argv(1)), "\n"));
}
return FALSE;
More information about the nexuiz-commits
mailing list