Skip to content

Commit d9768c2

Browse files
committed
VERSION{v1.11.3.2}
Well, well, well, if it isn't the consequences of my own string abuse. Fixes launching replays for old engine from site.
1 parent 7bab558 commit d9768c2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

LuaMenu/widgets/gui_steam_coop_handler.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,9 @@ function SteamCoopHandler.AttemptGameStart(gameType, gameName, mapName, scriptTa
413413
return
414414
end
415415
local engine = string.gsub(string.gsub(string.gsub(startEngineVersion, " BAR105", ""), " maintenance", ""), " develop", "")
416+
local StartDemoName = startReplayFile:gsub("demos/", ""):gsub("demos\\", "")
416417
local params = {
417-
StartDemoName = string.sub(startReplayFile, 7),
418+
StartDemoName = StartDemoName,
418419
Engine = engine,
419420
SpringSettings = WG.SettingsWindow.GetSettingsString(),
420421
}

0 commit comments

Comments
 (0)