2 ms·
Bug 1 ShouldPreventServerCommand calls Host_IsSinglePlayerGame instead of Host_IsLocalServer. The former function checks to see if the server that you are conne
by charcircuit 3y ago
Bug 1 ShouldPreventServerCommand calls Host_IsSinglePlayerGame instead of Host_IsLocalServer. The former function checks to see if the server that you are connected to is a single player server where actually we are interested in if we are running a server locally.
https://github.com/sr2echa/CSGO-Source-Code/blob/dafb3cafa88f37cd405df3a9ffbbcdcb1dba8f63/cstrike15_src/engine/cmd.cpp#L876 https://github.com/sr2echa/CSGO-Source-Code/blob/dafb3cafa88...
https://github.com/sr2echa/CSGO-Source-Code/blob/dafb3cafa88f37cd405df3a9ffbbcdcb1dba8f63/cstrike15_src/engine/host.cpp#L911 https://github.com/sr2echa/CSGO-Source-Code/blob/dafb3cafa88...