1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

fix: 修复字段值显示逻辑,直接使用值而非字符串转换

This commit is contained in:
2025-08-26 18:44:49 +08:00
parent 3197fe6048
commit 25497d2dd5
+1 -1
View File
@@ -24,7 +24,7 @@ func _ready():
var value = fieldValues[i]
var fieldShow: FieldShow = preload("res://components/UI/FieldShow.tscn").instantiate()
fieldShow.field = field
fieldShow.value = str(value)
fieldShow.value = value
fieldsBox.add_child(fieldShow)
for i in costsBox.get_children():
i.queue_free()