CHANGED: #1471 I probably shouldn't sacrifice the game's key config parsing on the altar of the GUI editor :P

This commit is contained in:
dfighter1985 2012-08-19 02:38:24 +02:00
parent f9f765430e
commit c53fccf7c2

View file

@ -478,9 +478,8 @@ namespace NLGUI
// todo hulud interface syntax error // todo hulud interface syntax error
nlwarning ("could not read all styles"); nlwarning ("could not read all styles");
} }
if( !strcmp((char*)curNode->name,"key" ) ) if( !strcmp((char*)curNode->name,"key" ) && editorMode )
{ {
if( editorMode )
saveKeySettings( curNode ); saveKeySettings( curNode );
} }
// If define and style oks, try to parse "1st pass" objets (define, options....). // If define and style oks, try to parse "1st pass" objets (define, options....).