[Resolved]VE - Battle engine - Crash on "End Fight" event call

Hello,


So, with a friend we're making a game with RPG Maker VX Ace, and we came across a problem. With the script VE animated battles, when we call the event "End Fight" (only in certain cases, not always, this is strange)it crash and send this message :

Spoiler

Does someone know from where it come from ?
try adding this line before the line that causes the error:


return unless user.sprite


and see if it don't cause other issues
try adding this line before the line that causes the error:


return unless user.sprite


and see if it don't cause other issues

Oik ! Thanks ! Seems to work ! I'll make further tests before setting this topic to resolved.

Original thread: https://forums.rpgmakerweb.com/threads/resolved-ve-battle-engine-crash-on-end-fight-event-call.58345/