Exit with error

This commit is contained in:
kaetemi 2014-06-21 05:46:20 +02:00
parent cf3e779ae9
commit 5cb8a7700e

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