Skip to content

Commit

Permalink
fix bad reference to GameManager
Browse files Browse the repository at this point in the history
  • Loading branch information
krazyjakee committed Aug 26, 2024
1 parent ee73eb6 commit c90dc7c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions addons/nodot/autoload/NetworkManager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ func reset():
multiplayer_peer.close_connection()
multiplayer_peer = ENetMultiplayerPeer.new()
is_host = false


2 changes: 0 additions & 2 deletions addons/nodot/kits/FirstPerson/FirstPersonItemsContainer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion addons/nodot/menus/MenuContainer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ func _hide() -> void:
emit_signal("hiding")
if !custom_transition:
set_visible(false)

0 comments on commit c90dc7c

Please sign in to comment.