mirror of
https://github.com/ENSL/NS.git
synced 2025-01-18 23:41:51 +00:00
Fixed bug where server variables wouldn't be updated after a mapchange.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@231 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
0596113f6f
commit
51d2e419bf
2 changed files with 4 additions and 1 deletions
Binary file not shown.
|
@ -6980,9 +6980,12 @@ void AvHPlayer::PropagateServerVariables()
|
|||
|
||||
if ( mServerVariableList[i].mLastValueSent != theValue)
|
||||
{
|
||||
|
||||
mServerVariableList[i].mLastValueSent = theValue;
|
||||
|
||||
#ifdef AVH_SERVER
|
||||
ALERT(at_console, UTIL_VarArgs("Sent server var to %s: %s %s\n", this->mDesiredNetName, mServerVariableList[i].mName.c_str(), mServerVariableList[i].mLastValueSent.c_str()));
|
||||
#endif
|
||||
|
||||
MESSAGE_BEGIN(MSG_ONE, gmsgServerVar, NULL, this->pev);
|
||||
|
||||
WRITE_STRING( mServerVariableList[i].mName.c_str() );
|
||||
|
|
Loading…
Reference in a new issue