diff --git a/src/client/component/mapents.cpp b/src/client/component/mapents.cpp index e094d9ad..f05f92f5 100644 --- a/src/client/component/mapents.cpp +++ b/src/client/component/mapents.cpp @@ -315,6 +315,7 @@ namespace mapents void clear() { + game::Dvar_SetFromStringFromSource("addon_mapname", "", game::DVAR_SOURCE_INTERNAL); allocator.clear(); }