After updating to version 1.6.2, a recursive error occurred in MYTH_CGC_CoreEngine
, causing an infinite loop. I was able to fix it by modifying the Scene_Map
processing as shown below, so if anyone else is experiencing the same issue, please refer to this.
[Original Code]
Scene_Map.prototype.stop = function ()
{
var interpreter = Myth.Util.getInterpreter();
if (interpreter)
interpreter.hideAllCards();
Myth.CGC.showCard_Scene_Base_stop.call(this);
}
[Modified Code]
Scene_Map.prototype.stop = function() {
if (this._stopped) return; // Prevent recursive call
this._stopped = true; // Set stop state flag
Scene_Base.prototype.stop.call(this);
}