Fix Save ops order (#1367)

And fix field nulling if the database doesn't return anything.
This commit is contained in:
skull132
2017-01-02 00:44:46 +02:00
committed by GitHub
parent b2e7c73668
commit a79808984e
5 changed files with 31 additions and 15 deletions
@@ -151,7 +151,7 @@
else
if (modified)
// No save here, because this is only called from the menu and needs to save /everything/.
handle_sql_saving(SQL_PREFERENCES|SQL_CHARACTER)
handle_sql_saving(SQL_CHARACTER)
modified = 0
/datum/category_group/player_setup_category/proc/load_preferences(var/savefile/S)