Skip to content

Commit a07c907

Browse files
authored
fix(WorkshopId): Reset on map change
1 parent 53a6c0a commit a07c907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/entrypoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ bool LoopInitHook(void* _this, KeyValues* pKeyValues, void* pRegistry)
310310
g_SwiftlyCore.OnMapLoad(pKeyValues->GetString("levelname"));
311311
if (pKeyValues->FindKey("customgamemode")) {
312312
workshop_map = pKeyValues->GetString("customgamemode");
313-
}
313+
} else workshop_map = "";
314314

315315
return ret;
316316
}

0 commit comments

Comments
 (0)