RESTORED ORIGINAL addons/escoria-core/game/escoria.gd
This commit is contained in:
@@ -18,8 +18,7 @@ onready var main = $main
|
||||
|
||||
func _init():
|
||||
escoria.inventory_manager = ESCInventoryManager.new()
|
||||
# MODIFIED FOR RETURN TO MONKEY UI
|
||||
escoria.action_manager = ESCActionManagerMonkey.new()
|
||||
escoria.action_manager = ESCActionManager.new()
|
||||
escoria.event_manager = ESCEventManager.new()
|
||||
escoria.globals_manager = ESCGlobalsManager.new()
|
||||
add_child(escoria.event_manager)
|
||||
|
||||
@@ -82,6 +82,9 @@ var _current_mouse_pos = Vector2.ZERO
|
||||
var tooltip2_node: Object
|
||||
|
||||
func _ready():
|
||||
# We need a slightly modified version of Action Manager to combine items with different actions.
|
||||
escoria.action_manager = ESCActionManagerMonkey.new()
|
||||
|
||||
if $tooltip_layer/tooltip.connect("tooltip_size_updated", self, "update_tooltip_following_mouse_position", [tooltip_node]) != 0:
|
||||
escoria.logger.error(self, "Error connecting tooltip_size_updated")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user