fix(lua): display "needs file" rather than "unknown error" (#5991)

This commit is contained in:
Peter Feerick
2025-03-19 09:30:45 +10:00
committed by GitHub
parent 7af358564c
commit fa3dd4aa32
+3
View File
@@ -761,6 +761,9 @@ void displayLuaError(bool firstCall = false)
case SCRIPT_PANIC:
title = STR_SCRIPT_PANIC;
break;
case SCRIPT_NOFILE:
title = STR_NEEDS_FILE;
break;
default:
title = STR_SCRIPT_ERROR;
}