Moved ZMenu reminder to roundstart module, and fixed bug where it would be printed twice when connecting/spawning.

This commit is contained in:
Greyscale
2009-06-25 17:10:45 -07:00
parent 3f08d6f72c
commit 735839c19c
3 changed files with 34 additions and 10 deletions

View File

@ -161,6 +161,12 @@ ZMarketOnClientSpawnPost(client)
return;
}
// If client is a zombie, then stop.
if (InfectIsClientInfected(client))
{
return;
}
// If auto-rebuy is enabled, then force client to rebuy weapons.
if (CookiesGetClientCookieBool(client, g_hZMarketAutoRebuyCookie))
{