add console command to reset a CVAR to default value

Moderator: GZDoom Developers

User avatar
m8f
 
 
Posts: 1416
Joined: Fri Dec 29, 2017 4:15 am
Location: Siberia (UTC+7)

add console command to reset a CVAR to default value

Post by m8f »

Rationale:

1. Now to reset a CVAR to default, the user doesn't need to remember the default value.
2. If a modder wants to reset a CVAR via menu command, they don't need to keep menudef and cvarinfo in sync.

usage: reset <variable>

PR

Return to “Closed Feature Suggestions”