diff --git a/singletons/Settings.gd b/singletons/Settings.gd index f0b345f..f84f84d 100644 --- a/singletons/Settings.gd +++ b/singletons/Settings.gd @@ -49,10 +49,10 @@ func load_settings(): config.set_value('libraries', 'additional_paths', []) match config.load(SETTINGS_FILENAME): OK: - SSXY_set(Vector2( - config.get_value('rendering', 'subsampling_x', subsampling_x), - config.get_value('rendering', 'subsampling_y', subsampling_y) - )) + self.subsampling = Vector2( + config.get_value('rendering', 'subsampling_x', self.subsampling_x), + config.get_value('rendering', 'subsampling_y', self.subsampling_y) + ) emit_signal('config_loaded') ERR_FILE_NOT_FOUND: save_settings()