When I checked the 1.6.2 sample, I saw that the show card plug-in was removed and confirmed that there was no problem. Thank you for your reply.
Sol
2
Posts
6
Following
A member registered Nov 09, 2019
Recent community posts
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);
}