diff options
Diffstat (limited to 'client/game.gd')
| -rw-r--r-- | client/game.gd | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/client/game.gd b/client/game.gd index 3a037be9..63217c68 100644 --- a/client/game.gd +++ b/client/game.gd @@ -366,9 +366,11 @@ func _process(delta):  	if is_replay and mp != null:  		mp.send_replay_tick(delta) +# TODO: move into PopupMessage and use RichTextLabel for tile/item images  func get_message_str(m: Dictionary) -> String: -	if "tile" in m: return tile_names[m.tile] -	if "item" in m: return item_names[m.item] +	if "translation" in m: return tr(m.translation.id).format(m.translation.params.map(get_message_str)) +	if "tile" in m.keys(): return tile_names[m.tile] +	if "item" in m.keys(): return item_names[m.item]  	return Global.get_message_str(m)  func get_tile_collision(pos: Vector2i) -> bool: | 
