From c3171b6ad45add63e43c6142d5246913b88fff5a Mon Sep 17 00:00:00 2001 From: IcePixelx <41352111+PixieCore@users.noreply.github.com> Date: Thu, 20 Jan 2022 16:09:58 +0100 Subject: [PATCH] Gotta use server remote checksum in hoststate. --- r5dev/engine/host_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/engine/host_state.cpp b/r5dev/engine/host_state.cpp index 32de0ebe..1b6de08d 100644 --- a/r5dev/engine/host_state.cpp +++ b/r5dev/engine/host_state.cpp @@ -32,7 +32,7 @@ void KeepAliveToPylon() // BUG BUG: Checksum is null on dedi // ADDITIONAL NOTES: seems to be related to scripts, this also happens when the listen server is started but the client from the same process never connects. // Checksum only gets set on the server if the client from its own process connects to it. - std::to_string(*g_nClientRemoteChecksum), + std::to_string(*g_nServerRemoteChecksum), std::string(), g_szNetKey.c_str() }