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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user