Facepunch / sbox-issues

162 stars 11 forks source link

Changing Editor Settings causes Play Mode (sbox.exe) changes #5704

Open Retroeer opened 2 weeks ago

Retroeer commented 2 weeks ago

Describe the bug

Changing most of the Settings under the "Settings" Tab also causes changes to the main sbox game, such as FPS Cap and Audio, this also goes vice versa due to everything being under a ConVar

To Reproduce

  1. Mute(or cap) Editor
  2. launch sbox in Play Mode
  3. Changes persist in Play Mode

    Expected behavior

Settings should be separate from the Editor and the main game.

Media/Files

No response

Additional context

No response

DevulTj commented 2 weeks ago

Makes sense, all that the Settings/Mute option does is set the snd_mute convar, which is used in the game. Though this probably shouldn't be the case.

Retroeer commented 2 weeks ago

Edited this to fit a broader issue.

DoctorGurke commented 2 weeks ago

Convars are cool but dev should have its own configs from game, per project would be the best