Permalink
Browse files

added reloading of default.cfg before reloading the main config file …

…(e.g. when using the !reload command)

git-svn-id: http://ghostplusplus.googlecode.com/svn/trunk@407 a7494f72-a4b0-11dd-a887-7ffe1a420f8d
  • Loading branch information...
1 parent ddce767 commit d188e6ad7c4de897754ce00efcb3aefcea15019c hogantp committed Mar 31, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 ghost/ghost.cpp
View
@@ -1312,6 +1312,7 @@ void CGHost :: EventGameDeleted( CBaseGame *game )
void CGHost :: ReloadConfigs( )
{
CConfig CFG;
+ CFG.Read( "default.cfg" );
CFG.Read( gCFGFile );
SetConfigs( &CFG );
}

0 comments on commit d188e6a

Please sign in to comment.