diff --git a/src/Autoload/Global.gd b/src/Autoload/Global.gd index 4038c55..74882a6 100644 --- a/src/Autoload/Global.gd +++ b/src/Autoload/Global.gd @@ -8,7 +8,7 @@ var root_directory := "." var window_title := "" setget title_changed # Why doesn't Godot have get_window_title()? var config_cache := ConfigFile.new() var XDGDataPaths = preload("res://src/XDGDataPaths.gd") -var directory_module : Node +var directory_module : Reference # Stuff for arrowkey-based canvas movements nyaa ^.^ const low_speed_move_rate := 150.0 diff --git a/src/XDGDataPaths.gd b/src/XDGDataPaths.gd index 6dcbb0e..3642e39 100644 --- a/src/XDGDataPaths.gd +++ b/src/XDGDataPaths.gd @@ -1,4 +1,4 @@ -extends Node +extends Reference # These are *with* the config subdirectory name var xdg_data_home : String