Push project up

This commit is contained in:
2026-08-23 12:03:58 -05:00
parent 5a3b3a9563
commit e8378cb6fb
34 changed files with 1001 additions and 1 deletions

15
globals/globals.gd Normal file
View File

@@ -0,0 +1,15 @@
extends Node
var game_data: GameData
var multiplayer_data: MultiplayerData
func cache_invalidate_load_resource(target: String) -> Resource:
# NOTE: Deep replace version b/c we don't want to use an autoloads
# that does this replasce before any nodes actually load.
ResourceLoader.load(target, "", ResourceLoader.CACHE_MODE_REPLACE_DEEP)
# NOTE: Let prior call propigate naturally. (Unsure when...)
# Enforce new script/node from pck called here.
return ResourceLoader.load(target, "", ResourceLoader.CACHE_MODE_IGNORE_DEEP)