summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-02-21 17:57:43 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-02-21 17:57:43 +0000
commite322a604927c138b08a6ff20c2a91fdd8bcfa4e5 (patch)
tree7dbb9dfbdd72ca9c9c7cfae9d7095d6fbc5977bc
parent74476b6123145fa36fa286b00da9037baf498731 (diff)
add response from !astage and !hstage
-rw-r--r--src/game/g_admin.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index bc700ac..7b62341 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -7735,6 +7735,11 @@ qboolean G_admin_hstage( gentity_t *ent, int skiparg )
lvl -= 1;
trap_SendConsoleCommand( EXEC_APPEND, va( "g_humanStage %i", lvl ) );
+ lvl += 1;
+
+ AP( va( "print \"^3!hstage: %s ^7gave humans stage ^2%i\n\"",
+ ( ent ) ? G_admin_adminPrintName( ent ) : "console",
+ lvl ) );
return qtrue;
@@ -7762,6 +7767,11 @@ qboolean G_admin_astage( gentity_t *ent, int skiparg )
lvl -= 1;
trap_SendConsoleCommand( EXEC_APPEND, va( "g_alienStage %i", lvl ) );
+ lvl += 1;
+
+ AP( va( "print \"^3!hstage: %s ^7gave aliens stage ^2%i\n\"",
+ ( ent ) ? G_admin_adminPrintName( ent ) : "console",
+ lvl ) );
return qtrue;