ajout d'une gui en 3d, d'un tuto et correction de bug à la pelletée
This commit is contained in:
@@ -30,7 +30,6 @@ func save_game_data():
|
||||
|
||||
func load_settings_data() -> SettingsData:
|
||||
if ResourceLoader.exists(SAVE_SETTINGS_LOCATION):
|
||||
print("settings exists")
|
||||
settings_data = ResourceLoader.load(SAVE_SETTINGS_LOCATION).duplicate_deep()
|
||||
else :
|
||||
settings_data = SettingsData.new()
|
||||
@@ -70,5 +69,4 @@ func update_inputs(s : SettingsData = settings_data):
|
||||
for i in range(len(s.input_remapped)):
|
||||
InputMap.action_erase_events(s.action_remapped[i])
|
||||
InputMap.action_add_event(s.action_remapped[i], s.input_remapped[i])
|
||||
print("Update %s action to %s" % [s.action_remapped[i], s.input_remapped[i].as_text()])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user