diff --git a/addons/nodot/autoload/NetworkManager.gd b/addons/nodot/autoload/NetworkManager.gd index b297e8db..7863a2e8 100644 --- a/addons/nodot/autoload/NetworkManager.gd +++ b/addons/nodot/autoload/NetworkManager.gd @@ -33,5 +33,3 @@ func reset(): multiplayer_peer.close_connection() multiplayer_peer = ENetMultiplayerPeer.new() is_host = false - - diff --git a/addons/nodot/kits/FirstPerson/FirstPersonItemsContainer.gd b/addons/nodot/kits/FirstPerson/FirstPersonItemsContainer.gd index 077e0692..ecd8389c 100644 --- a/addons/nodot/kits/FirstPerson/FirstPersonItemsContainer.gd +++ b/addons/nodot/kits/FirstPerson/FirstPersonItemsContainer.gd @@ -115,8 +115,6 @@ func change_item(new_index: int) -> void: func activate_current_item(): is_item_active = true; var items: Array = get_all_items(); - if GameManager.has_item(active_item_index): - await (items[active_item_index] as FirstPersonItem).activate(); func deactivate_current_item(): is_item_active = false; diff --git a/addons/nodot/menus/MenuContainer.gd b/addons/nodot/menus/MenuContainer.gd index 32348ca3..751a77c4 100644 --- a/addons/nodot/menus/MenuContainer.gd +++ b/addons/nodot/menus/MenuContainer.gd @@ -24,4 +24,3 @@ func _hide() -> void: emit_signal("hiding") if !custom_transition: set_visible(false) -