Latch CVars can not be changed from menus

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
TheCamaleonMaligno
Posts: 85
Joined: Sun Jun 28, 2015 3:25 pm
Location: Frozen igloo, IN MIDDLE OF THE DESERT!!
Contact:

Latch CVars can not be changed from menus

Post by TheCamaleonMaligno »

tested with GZDoom g3.3pre-77-gf0dc619

as the title says, latch cvars can't be changed from menus, i tried with sv_cheats, a boolean and integer custom cvars, they can only be changed from the console

here is the test thing
testo.wad
asd
(514 Bytes) Downloaded 24 times
just go to options menu/here/ and try to change something
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Latch CVars can not be changed from menus

Post by _mental_ »

Change to latch CVAR is applied immediately during startup or in full screen console mode only.
In all other modes its update is postponed to the next game start.

By default main menu is treated as demo sequence mode.
That's why you won't see any changes before entering the game or opening full screen console.

This is how this feature works. So adding such CVAR to a menu will most likely cause user's confusion.
User avatar
TheCamaleonMaligno
Posts: 85
Joined: Sun Jun 28, 2015 3:25 pm
Location: Frozen igloo, IN MIDDLE OF THE DESERT!!
Contact:

Re: Latch CVars can not be changed from menus

Post by TheCamaleonMaligno »

ahh, now i get it, thanks for the clarification
Post Reply

Return to “Closed Bugs [GZDoom]”