diff --git a/game/translations/game.de.translation b/game/translations/game.de.translation deleted file mode 100644 index 756ca1a3..00000000 Binary files a/game/translations/game.de.translation and /dev/null differ diff --git a/game/translations/game.en.translation b/game/translations/game.en.translation deleted file mode 100644 index e2b648e9..00000000 Binary files a/game/translations/game.en.translation and /dev/null differ diff --git a/game/translations/game.fr.translation b/game/translations/game.fr.translation deleted file mode 100644 index 56bc06c5..00000000 Binary files a/game/translations/game.fr.translation and /dev/null differ diff --git a/gymkhana/addons/escoria-ui-return-monkey-island/game.gd b/gymkhana/addons/escoria-ui-return-monkey-island/game.gd index 00291883..9fe98e05 100644 --- a/gymkhana/addons/escoria-ui-return-monkey-island/game.gd +++ b/gymkhana/addons/escoria-ui-return-monkey-island/game.gd @@ -310,7 +310,9 @@ func click_on_inventory_item(item_global_id: String, event: InputEvent, action: # If item needs combination with this action, use the item texture as mouse cursor if action in target_obj.combine_when_selected_action_is_in: - Input.set_custom_mouse_cursor(target_obj.inventory_texture) + var texture = target_obj.inventory_texture + var middleOfTheTexture = Vector2(texture.get_width() / 2, texture.get_height() / 2) + Input.set_custom_mouse_cursor(target_obj.inventory_texture, 0, middleOfTheTexture) escoria.action_manager.do( escoria.action_manager.ACTION.ITEM_LEFT_CLICK, diff --git a/project.godot b/project.godot index ed762ca3..eebbf95f 100644 --- a/project.godot +++ b/project.godot @@ -204,7 +204,7 @@ _global_script_classes=[ { "language": "GDScript", "path": "res://addons/escoria-core/game/scenes/dialogs/esc_dialog_options_chooser.gd" }, { -"base": "StateMachine", +"base": "Node", "class": "ESCDialogPlayer", "language": "GDScript", "path": "res://addons/escoria-core/game/scenes/dialogs/esc_dialog_player.gd"