This commit is contained in:
Jan Racek
2026-03-29 09:35:49 +02:00
parent 561ee9dd64
commit 9f3918c8c8

View File

@@ -152,7 +152,6 @@ void CutscenePlayer::fireOnComplete() {
L.rawGetI(LUA_REGISTRYINDEX, m_onCompleteRef);
if (L.isFunction(-1)) {
if (L.pcall(0, 0) != LUA_OK) {
printf("Cutscene onComplete error: %s\n", L.optString(-1, "unknown"));
L.pop();
}
} else {