Skip to content

Commit

Permalink
Fixed|Definitions: Built-in "Defs" module disappears when switching g…
Browse files Browse the repository at this point in the history
…ames

`Def_Destroy` should not be called unless the engine is being shut
down.
  • Loading branch information
skyjake committed Jul 5, 2015
1 parent ac14be9 commit 6a66f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/apps/client/src/def_main.cpp
Expand Up @@ -1265,12 +1265,12 @@ void Def_Read()
#ifdef __CLIENT__
clearFontDefinitionLinks();
#endif

Def_Destroy();
defsInited = false;
}

// Now we can clear all existing definitions and re-init.
defs.clear();
runtimeDefs.clear();

// Generate definitions.
generateMaterialDefs();
Expand Down

0 comments on commit 6a66f76

Please sign in to comment.