mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-05-06 21:34:50 -04:00
Made XDGDataPaths extend Reference
This could clear the "ObjectDB Instances still exist!" and "Resources Still in use at Exit!" errors when you exit Pixelorama.
This commit is contained in:
parent
7361e01b1d
commit
1740c11513
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ var root_directory := "."
|
||||||
var window_title := "" setget title_changed # Why doesn't Godot have get_window_title()?
|
var window_title := "" setget title_changed # Why doesn't Godot have get_window_title()?
|
||||||
var config_cache := ConfigFile.new()
|
var config_cache := ConfigFile.new()
|
||||||
var XDGDataPaths = preload("res://src/XDGDataPaths.gd")
|
var XDGDataPaths = preload("res://src/XDGDataPaths.gd")
|
||||||
var directory_module : Node
|
var directory_module : Reference
|
||||||
|
|
||||||
# Stuff for arrowkey-based canvas movements nyaa ^.^
|
# Stuff for arrowkey-based canvas movements nyaa ^.^
|
||||||
const low_speed_move_rate := 150.0
|
const low_speed_move_rate := 150.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
extends Node
|
extends Reference
|
||||||
|
|
||||||
# These are *with* the config subdirectory name
|
# These are *with* the config subdirectory name
|
||||||
var xdg_data_home : String
|
var xdg_data_home : String
|
||||||
|
|
Loading…
Add table
Reference in a new issue