drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.27k stars 55 forks source link

Bug: Config star wildcard problem #146

Closed elmodor closed 1 year ago

elmodor commented 1 year ago

Describe the bug Wildcards seem not to work all the time: card names: my_card_f.png front `my_card_b.png' back

config:

[my_card_f.png]
desc = "My Card"
back_face = "my_card_b.png"

[*_b]
ignore = true

[*_b.png]
ignore = true

Both ignores do not work. AssetDB tries to load them and throws an error because no back_face is set for _b.png cards

To Reproduce Steps to reproduce the behavior: See above

Expected behavior *_b.png cards are ignored and not loaded

Version v0.1.0 Beta 1

drwhut commented 1 year ago

Fixed with the merging of #148.