Skip to content

Commit

Permalink
fix: add missing entt::scoped_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragonisser committed May 11, 2022
1 parent cfcb75e commit b4c5dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Code/client/Services/Generic/OverlayService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ OverlayService::OverlayService(World& aWorld, TransportService& transport, entt:
//m_playerListConnection = aDispatcher.sink<NotifyPlayerList>().connect<&OverlayService::OnPlayerList>(this);
//m_cellChangeEventConnection = aDispatcher.sink<CellChangeEvent>().connect<&OverlayService::OnCellChangeEvent>(this);
m_chatMessageConnection = aDispatcher.sink<NotifyChatMessageBroadcast>().connect<&OverlayService::OnChatMessageReceived>(this);
m_playerJoinedConnection = aDispatcher.sink<NotifyPlayerJoined>().connect<&OverlayService::OnPlayerJoined>(this);
m_playerLeftConnection = aDispatcher.sink<NotifyPlayerLeft>().connect<&OverlayService::OnPlayerLeft>(this);
}

Expand Down
1 change: 1 addition & 0 deletions Code/client/Services/OverlayService.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ struct OverlayService
entt::scoped_connection m_cellChangeEventConnection;
entt::scoped_connection m_chatMessageConnection;
entt::scoped_connection m_playerListConnection;
entt::scoped_connection m_playerJoinedConnection;
entt::scoped_connection m_playerLeftConnection;
};

0 comments on commit b4c5dbb

Please sign in to comment.