mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
CHANGED: #1471 I probably shouldn't sacrifice the game's key config parsing on the altar of the GUI editor :P
--HG-- branch : gsoc2012-gui-editor
This commit is contained in:
parent
53eb29fef8
commit
6b42c11626
1 changed files with 1 additions and 2 deletions
|
@ -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....).
|
||||
|
|
Loading…
Reference in a new issue