Bindings: Fix inconsistency in Viewport dispose (RGSS1)

As noted, on Viewport dispose, RMXP always calls the core
dispose method for child objects regardless of whether
user scripts override it in sub classes.

Implement this behavior in mkxp to prevent infinite recursion.
This commit is contained in:
Jonas Kulla 2014-10-24 18:29:08 +02:00
parent 8b31f97bb4
commit 1a489aafaf
4 changed files with 11 additions and 5 deletions
binding-mruby

View file

@ -55,7 +55,7 @@ struct
SYMD(default_color),
SYMD(default_out_color),
SYMD(children),
SYMD(dispose)
SYMD(_mkxp_dispose_alias)
};
static elementsN(symData);