[Added] add console command to reset a CVAR to default value

Moderator: GZDoom Developers

add console command to reset a CVAR to default value

Postby m8f » Wed Oct 14, 2020 11:54 am

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
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests