mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-15 15:30:21 -08:00
fixed fonts being loaded using shitty fuckass uids
This commit is contained in:
parent
9a17f140e0
commit
676efa6443
4 changed files with 6 additions and 5 deletions
|
|
@ -190,11 +190,12 @@ func apply_properties(properties := {}) -> void:
|
|||
obj.set(p, properties[i])
|
||||
continue
|
||||
|
||||
|
||||
|
||||
func get_variation_json(json := {}) -> Dictionary:
|
||||
var level_theme = Global.level_theme
|
||||
if force_properties.has("Theme"):
|
||||
level_theme = force_properties.Theme
|
||||
|
||||
for i in json.keys().filter(func(key): return key.contains("config:")):
|
||||
get_config_file(current_resource_pack)
|
||||
if config_to_use != {}:
|
||||
|
|
|
|||
|
|
@ -464,7 +464,7 @@ func check_completionist_achievement() -> void:
|
|||
if achievements.count("0") == 1:
|
||||
unlock_achievement(AchievementID.COMPLETIONIST)
|
||||
|
||||
const FONT = preload("uid://cd221873lbtj1")
|
||||
const FONT = preload("res://Assets/Sprites/UI/Font.fnt")
|
||||
|
||||
func sanitize_string(string := "") -> String:
|
||||
string = string.to_upper()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue