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:
tankefugl 2005-07-04 17:33:10 +00:00
parent 0596113f6f
commit 51d2e419bf
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View file

@ -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() );