summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_servercmds.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index 7a9ed748..bec94eee 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -651,11 +651,11 @@ void CG_Menu( int menu )
}
break;
- case MN_H_RPLWARN:
+ case MN_H_TNODEWARN:
if( !cg_disableBuildWarnings.integer )
{
- trap_Cvar_Set( "ui_dialog", "WARNING: This replicator will not be powered. Build a reactor to "
- "prevent seeing this message again." );
+ trap_Cvar_Set( "ui_dialog", "WARNING: This telenode will not be powered. Build near a power "
+ "structure to prevent seeing this message again." );
trap_SendConsoleCommand( "menu tremulous_human_dialog\n" );
}
break;
@@ -669,6 +669,14 @@ void CG_Menu( int menu )
}
break;
+ case MN_H_RPTWARN2:
+ if( !cg_disableBuildWarnings.integer )
+ {
+ trap_Cvar_Set( "ui_dialog", "This area already has power. A repeater is not required here." );
+ trap_SendConsoleCommand( "menu tremulous_human_dialog\n" );
+ }
+ break;
+
case MN_H_NOSLOTS:
trap_Cvar_Set( "ui_dialog", "You have no room to carry this. Please sell any conflicting "
"upgrades before purchasing this item." );