Change default chat time to 0.0 (#977)

This commit is contained in:
Fysiks 2021-08-07 10:19:38 -05:00 committed by GitHub
parent 6b9d82fa60
commit d88b7e3c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ public delayedChange(param[])
public changeMap() public changeMap()
{ {
new string[32] new string[32]
new Float:chattime = g_mp_chattime ? get_pcvar_float(g_mp_chattime) : 10.0; // mp_chattime defaults to 10 in other mods new Float:chattime = g_mp_chattime ? get_pcvar_float(g_mp_chattime) : 0.0;
if (g_mp_chattime) { if (g_mp_chattime) {
set_pcvar_float(g_mp_chattime, chattime + 2.0) // make sure mp_chattime is long set_pcvar_float(g_mp_chattime, chattime + 2.0) // make sure mp_chattime is long