debug scene + fixed resource loading in releases
This commit is contained in:
parent
0eecd651e4
commit
0dd3628ce1
7 changed files with 114 additions and 6 deletions
|
|
@ -150,7 +150,7 @@ func fetch_modules():
|
|||
func check_for_item(modules : Array[String]) -> Array[String]:
|
||||
var returnable : Array[String] = []
|
||||
for module in modules:
|
||||
var itm = module.trim_suffix(".tscn")
|
||||
var itm = module.split('.', true, 1)[0]
|
||||
if Game.get_item(itm).name != Game.DEFAULT_ITEM.name:
|
||||
returnable.append(itm)
|
||||
return returnable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue