From d0356edef4dc0a14304b8890e8152911740ff87a Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 28 Nov 2024 18:00:50 +0200 Subject: Added position to networks --- internal/client/ui/core/state/state.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'internal/client/ui/core/state') diff --git a/internal/client/ui/core/state/state.go b/internal/client/ui/core/state/state.go index eeba245..e40cdc9 100644 --- a/internal/client/ui/core/state/state.go +++ b/internal/client/ui/core/state/state.go @@ -2,13 +2,10 @@ package state import ( "github.com/kyren223/eko/internal/packet" - "github.com/kyren223/eko/pkg/snowflake" ) type state struct { - Networks map[snowflake.ID]packet.FullNetwork + Networks []packet.FullNetwork } -var State state = state{ - Networks: make(map[snowflake.ID]packet.FullNetwork), -} +var State state = state{} -- cgit v1.3.1