From c53fccf7c26f355b6ede5df9d455d00d3365d25f Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Sun, 19 Aug 2012 02:38:24 +0200 Subject: [PATCH] CHANGED: #1471 I probably shouldn't sacrifice the game's key config parsing on the altar of the GUI editor :P --- code/nel/src/gui/interface_parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/nel/src/gui/interface_parser.cpp b/code/nel/src/gui/interface_parser.cpp index 6a9563475..ee6a8087e 100644 --- a/code/nel/src/gui/interface_parser.cpp +++ b/code/nel/src/gui/interface_parser.cpp @@ -478,9 +478,8 @@ namespace NLGUI // todo hulud interface syntax error nlwarning ("could not read all styles"); } - if( !strcmp((char*)curNode->name,"key" ) ) + if( !strcmp((char*)curNode->name,"key" ) && editorMode ) { - if( editorMode ) saveKeySettings( curNode ); } // If define and style oks, try to parse "1st pass" objets (define, options....).