Fixes preference instantation runtime (#48048)

This commit is contained in:
AnturK
2019-11-30 04:13:24 -08:00
committed by Rob Bailey
parent 94292142a4
commit c2e89e88bf
2 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
//we couldn't load character data so just randomize the character appearance + name
random_character() //let's create a random character then - rather than a fat, bald and naked man.
key_bindings = deepCopyList(GLOB.hotkey_keybinding_list_by_key) // give them default keybinds and update their movement keys
C.update_movement_keys()
C?.update_movement_keys()
real_name = pref_species.random_name(gender,1)
if(!loaded_preferences_successfully)
save_preferences()