rpgtkoolmv / corescript

http://www.rpgmakerweb.com/products/programs/rpg-maker-mv
MIT License
311 stars 75 forks source link

Reduction of this.actor () #163

Closed Sigureya closed 6 years ago

Sigureya commented 6 years ago

Since BattleManager.actor () has been called multiple times by some functions, it is modified to be once. The above function calls $ gameParty.mebers () internally, and some of the array's slice () and filter () are called to waste. In the test at hand, there was no change in function.