diff --git a/game/addons/data_manager/panels/HistoryEntry.gd b/game/addons/data_manager/panels/HistoryEntry.gd index f32b6e16..a60afea5 100644 --- a/game/addons/data_manager/panels/HistoryEntry.gd +++ b/game/addons/data_manager/panels/HistoryEntry.gd @@ -18,7 +18,9 @@ func set_data(pdata: Resource) -> void: if data.has_method("get_text_name"): s += str(data.get_text_name()) - + elif data.has_method("get_name"): + s += str(data.get_name()) + if data.has_method("get_rank"): s += " (R " + str(data.get_rank()) + ")" diff --git a/game/addons/data_manager/panels/HistoryEntry.tscn b/game/addons/data_manager/panels/HistoryEntry.tscn index 770b168a..8bc48dc4 100644 --- a/game/addons/data_manager/panels/HistoryEntry.tscn +++ b/game/addons/data_manager/panels/HistoryEntry.tscn @@ -2,7 +2,6 @@ [ext_resource path="res://addons/data_manager/panels/HistoryEntry.gd" type="Script" id=1] - [node name="HistoryEntry" type="Button"] margin_right = 236.0 margin_bottom = 37.0