Fix debug mode (and other universe flags) being randomly set on upon load #261
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix_debug_mode_randomly_on"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
I would've used = initializers but whatever, it doesn't matter. Merging.