Skip to content

Commit

Permalink
Fixed an issue where Lobby and Player data could not be set in the Lo…
Browse files Browse the repository at this point in the history
…bbyCreated callback
  • Loading branch information
RugbugRedfern committed Apr 28, 2024
1 parent b42094a commit d29c9b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MyceliumNetworkingForCW/MyceliumNetwork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static void OnLobbyCreated(LobbyCreated_t param)
if(param.m_eResult == EResult.k_EResultOK)
{
Lobby = new CSteamID(param.m_ulSteamIDLobby);
InLobby = true;

RefreshPlayerList();

Expand Down Expand Up @@ -590,7 +591,6 @@ static void HandleMessage(Message message, CSteamID sender)
{
var handlers = GetMessageHandlers(message.ModID, message.MethodName);


bool handled = false;

foreach(var messageHandler in handlers)
Expand Down
3 changes: 3 additions & 0 deletions MyceliumNetworkingForCW/ts-assets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.12
- Fixed an issue where Lobby and Player data could not be set in the LobbyCreated callback

## 1.0.11
- Added logging for dropped RPCs
- More detailed RPC fail exception logging
Expand Down

0 comments on commit d29c9b4

Please sign in to comment.