Fix debug mode (and other universe flags) being randomly set on upon load #261

Merged
x-qq merged 1 commits from fix_debug_mode_randomly_on into master 2020-02-11 13:57:41 +00:00
x-qq commented 2020-02-11 13:38:41 +00:00 (Migrated from github.com)

Upon loading a save, a new instance of universe is default-constructed and then moved into existing universe. The problem is that several boolean flags in universe do not have initializers, so they sometimes end up with garbage values.

Fixes #198
Fixes #200

Upon loading a save, a new instance of universe is default-constructed and then moved into existing universe. The problem is that several boolean flags in universe do not have initializers, so they sometimes end up with garbage values. Fixes #198 Fixes #200
CelticMinstrel commented 2020-02-11 13:52:56 +00:00 (Migrated from github.com)

I would've used = initializers but whatever, it doesn't matter. Merging.

I would've used = initializers but whatever, it doesn't matter. Merging.
Sign in to join this conversation.
No description provided.