Exit with error

This commit is contained in:
kaetemi 2014-06-21 05:46:20 +02:00
parent e18ff04e15
commit c5d8bd6ec4

View file

@ -647,8 +647,7 @@ namespace NLGUI
{ {
if(!parseLUAScript(root)) if(!parseLUAScript(root))
{ {
nlwarning ("could not parse 'lua'"); nlerror ("could not parse 'lua'");
exit( EXIT_FAILURE );
} }
} }
else else