summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 455c74b9..cb35b4c6 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -220,6 +220,8 @@ Called when a human activates an MCU
*/
void HMCU_Activate( gentity_t *self, gentity_t *other, gentity_t *activator )
{
+ if( activator->client->ps.stats[ STAT_PTEAM ] != PTE_HUMANS ) return;
+
G_AddPredictableEvent( activator, EV_MENU, MN_MCU );
}