Skip to content

Commit b23b99f

Browse files
committed
removing unneeded method
1 parent 429ee19 commit b23b99f

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

Assets/Scripts/Gameplay/ConnectionManagement/ConnectionManager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ public void RequestShutdown()
156156
m_Logics[m_CurrentState].OnUserRequestedShutdown();
157157
}
158158

159-
public void OnServerShutdown()
160-
{
161-
m_Logics[m_CurrentState].OnServerShutdown();
162-
}
163-
164159
public void RegisterCustomMessages()
165160
{
166161
// should only do this once StartClient has been called (start client will initialize NetworkSceneManager and CustomMessagingManager)

Assets/Scripts/Gameplay/ConnectionManagement/ConnectionState/ConnectionState.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ public virtual Task StartHostLobbyAsync(string playerName)
3939

4040
public virtual void OnUserRequestedShutdown() {}
4141

42-
public virtual void OnServerShutdown() {}
43-
4442
public virtual void ApprovalCheck(byte[] connectionData, ulong clientId, NetworkManager.ConnectionApprovedDelegate connectionApprovedCallback) {}
4543
}
4644
}

0 commit comments

Comments
 (0)