perf: reduce web font and scene pack sizes
This commit is contained in:
@@ -2,7 +2,7 @@ extends Node
|
||||
|
||||
# Enforce a Chinese-capable font for every UI control, including controls
|
||||
# constructed dynamically after their scene has loaded.
|
||||
const UI_FONT: FontFile = preload("res://assets/fonts/msyh.ttc")
|
||||
const UI_FONT: FontFile = preload("res://assets/fonts/msyh-web.ttf")
|
||||
|
||||
func _enter_tree() -> void:
|
||||
get_tree().node_added.connect(_on_node_added)
|
||||
|
||||
Reference in New Issue
Block a user