From 55538487069306f990a85f74f58e98130ab58b52 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Mon, 7 Oct 2024 06:21:28 -0700 Subject: [PATCH] fix: pass correct build slug to game server --- Assets/Rivet/Editor/UI/Dock/Dock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Rivet/Editor/UI/Dock/Dock.cs b/Assets/Rivet/Editor/UI/Dock/Dock.cs index b4e9eb4..c4f7faf 100644 --- a/Assets/Rivet/Editor/UI/Dock/Dock.cs +++ b/Assets/Rivet/Editor/UI/Dock/Dock.cs @@ -139,8 +139,8 @@ public void OnEnable() ["cmd"] = Builder.GetDevDedicatedServerExecutablePath(), ["args"] = new JArray { "-batchmode", "-nographics", "-server" }, ["envs"] = new JObject { - ["BACKEND_ENDPOINT"] = SharedSettings.BackendEndpoint, - ["GAME_VERSION"] = SharedSettings.GameVersion, + ["BACKEND_ENDPOINT"] = plugin.BackendEndpoint, + ["GAME_VERSION"] = plugin.CurrentBuildSlug, } } });