mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Now the history tab will try to fall back to use the resource name property if the text name property cannot be found.
This commit is contained in:
parent
da9b6703c9
commit
78f97c94ea
@ -18,7 +18,9 @@ func set_data(pdata: Resource) -> void:
|
|||||||
|
|
||||||
if data.has_method("get_text_name"):
|
if data.has_method("get_text_name"):
|
||||||
s += str(data.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"):
|
if data.has_method("get_rank"):
|
||||||
s += " (R " + str(data.get_rank()) + ")"
|
s += " (R " + str(data.get_rank()) + ")"
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
[ext_resource path="res://addons/data_manager/panels/HistoryEntry.gd" type="Script" id=1]
|
[ext_resource path="res://addons/data_manager/panels/HistoryEntry.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
|
||||||
[node name="HistoryEntry" type="Button"]
|
[node name="HistoryEntry" type="Button"]
|
||||||
margin_right = 236.0
|
margin_right = 236.0
|
||||||
margin_bottom = 37.0
|
margin_bottom = 37.0
|
||||||
|
Loading…
Reference in New Issue
Block a user