altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Debug value modifies by using -debug #1806

Open mrgharabaghi opened 1 year ago

mrgharabaghi commented 1 year ago

Description of the problem

If you want to start the launcher with -debug, debug = false will modify by the launcher to debug = true in altv.toml.

Reproduction steps

  1. Set debug to false in altv.toml (Launcher).
  2. Start the launcher with -debug launch option.
  3. Launcher modifies debug = false to debug = true.

Expected behaviour

debug value should not modify on using -debug.

Additional context

No response

Operating system

Windows 10

Version

dev/15.0-dev39

Reproduction tested

xxshady commented 1 year ago

Can't reproduce on dev/15.0-dev39

xxshady commented 1 year ago

Nevermind, now I can, confirmed on dev/15.0-dev39

xxshady commented 1 year ago

Additional info: debug = true is added only when connecting to server

mrgharabaghi commented 1 year ago

@xxshady Try these steps, please. (Without connecting to server)

  1. Set debug to false in altv.toml (Launcher).
  2. Start the launcher with -debug launch option.
  3. Close the launcher with the bottom left Exit button.
  4. Launcher modifies debug = false to debug = true.
xxshady commented 1 year ago

I tried your steps and it didn't changed