mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Set developer and cheats cvar when "Enable Cheats" is ticked
This is required for the in-game dev-menu to work.
This commit is contained in:
parent
926b410bce
commit
b34446029b
@ -748,7 +748,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
|
||||
|
||||
if (this->m_CheatsToggle->Checked())
|
||||
{
|
||||
svParameters.append("+sv_cheats \"1\"\n");
|
||||
svParameters.append("-dev\n");
|
||||
svParameters.append("-showdevmenu\n");
|
||||
}
|
||||
|
||||
@ -961,7 +961,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
|
||||
|
||||
if (this->m_CheatsToggle->Checked())
|
||||
{
|
||||
svParameters.append("+sv_cheats \"1\"\n");
|
||||
svParameters.append("-dev\n");
|
||||
svParameters.append("-showdevmenu\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user