From 928f26f393df1fc8ac2dd1e26b39fa580ad2a8ac Mon Sep 17 00:00:00 2001 From: Varylios Date: Mon, 24 Nov 2025 19:25:28 +0100 Subject: [PATCH] fix: make file filter more friendly --- Globals/Helper.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Globals/Helper.gd b/Globals/Helper.gd index 73d684d..9bdb9ca 100644 --- a/Globals/Helper.gd +++ b/Globals/Helper.gd @@ -6,8 +6,8 @@ const CONFIRM_POPUP : PackedScene = preload("uid://cxn3x8dq8vawa") const SCENE_DIR_PATTERN : String = "res://\\w+/(Scenes|Map \\d+)/$" -const SCENE_FILE_PATTERN : String = "([^/]*)\\.tscn$" -const RESOURCE_FILE_PATTERN : String = "([^/]*)\\.tres$" +const SCENE_FILE_PATTERN : String = "([^/]*)\\.t?scn$" +const RESOURCE_FILE_PATTERN : String = "([^/]*)\\.t?res$" const TOWER_DIR : String = "res://Towers/Scenes/" const ENEMY_DIR : String = "res://Enemies/Scenes/"