Allow CVARINFO cvars to be latched
Posted: Thu Nov 09, 2017 2:44 pm
I see that the “skill” CVar is latched. Changes to it do not take effect until a new game is started, and it says so in the console.
Please allow CVARINFO-defined CVars to be latched like this, as well.
The intended use case is to have additional difficulty settings that, like “skill”, only take effect on a new game. Currently, the only way I know of to do that is to capture the CVars' values upon game startup, and store them in a global somewhere, but that doesn't make the latch warning appear on the console.
Please allow CVARINFO-defined CVars to be latched like this, as well.
The intended use case is to have additional difficulty settings that, like “skill”, only take effect on a new game. Currently, the only way I know of to do that is to capture the CVars' values upon game startup, and store them in a global somewhere, but that doesn't make the latch warning appear on the console.