mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 14:37:26 +08:00
Update l4dtoolz_mm.cpp
This commit is contained in:
parent
a66810e57f
commit
feba1152dc
@ -44,10 +44,10 @@ void l4dtoolz::OnChangeMaxplayers ( IConVar *var, const char *pOldValue, float f
|
||||
#ifdef L4D1
|
||||
max_players_new[4] = friends_lobby_new[3] = server_bplayers_new[3] = new_value;
|
||||
#else
|
||||
max_players_new[4] = server_bplayers_new[3] = new_value;
|
||||
max_players_new[4] = server_bplayers_new[3] = (unsigned char)new_value;
|
||||
#endif
|
||||
if(lobby_match_ptr) {
|
||||
lobby_match_new[2] = new_value;
|
||||
lobby_match_new[2] = (unsigned char)new_value;
|
||||
write_signature(lobby_match_ptr, lobby_match_new);
|
||||
} else {
|
||||
Msg("sv_maxplayers MS init error\n");
|
||||
|
Loading…
Reference in New Issue
Block a user