Skip to content

Commit

Permalink
Merge pull request #276 from LossyDragon/gc-handlemsg
Browse files Browse the repository at this point in the history
Fix wrong EMsg in SteamGameCoordinator handleMsg
  • Loading branch information
LossyDragon authored Sep 3, 2024
2 parents 0525249 + 54e0e6e commit cdf6763
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SteamGameCoordinator : ClientMsgHandler() {
* @param packetMsg The packet message that contains the data.
*/
override fun handleMsg(packetMsg: IPacketMsg) {
if (packetMsg.msgType == EMsg.ClientToGC) {
if (packetMsg.msgType == EMsg.ClientFromGC) {
val callback = MessageCallback(packetMsg)
client.postCallback(callback)
}
Expand Down

0 comments on commit cdf6763

Please sign in to comment.