sync
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user