aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/hl2mp
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/shared/hl2mp')
-rw-r--r--mp/src/game/shared/hl2mp/hl2mp_gamerules.cpp6
-rw-r--r--mp/src/game/shared/hl2mp/hl2mp_gamerules.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/mp/src/game/shared/hl2mp/hl2mp_gamerules.cpp b/mp/src/game/shared/hl2mp/hl2mp_gamerules.cpp
index abb36cae..1b7cf70f 100644
--- a/mp/src/game/shared/hl2mp/hl2mp_gamerules.cpp
+++ b/mp/src/game/shared/hl2mp/hl2mp_gamerules.cpp
@@ -844,7 +844,11 @@ const char *CHL2MPRules::GetGameDescription( void )
return "Deathmatch";
}
-
+bool CHL2MPRules::IsConnectedUserInfoChangeAllowed( CBasePlayer *pPlayer )
+{
+ return true;
+}
+
float CHL2MPRules::GetMapRemainingTime()
{
// if timelimit is disabled, return 0
diff --git a/mp/src/game/shared/hl2mp/hl2mp_gamerules.h b/mp/src/game/shared/hl2mp/hl2mp_gamerules.h
index 84f83999..8cadeab0 100644
--- a/mp/src/game/shared/hl2mp/hl2mp_gamerules.h
+++ b/mp/src/game/shared/hl2mp/hl2mp_gamerules.h
@@ -145,6 +145,8 @@ public:
bool IsTeamplay( void ) { return m_bTeamPlayEnabled; }
void CheckAllPlayersReady( void );
+
+ virtual bool IsConnectedUserInfoChangeAllowed( CBasePlayer *pPlayer );
private: