makspll / bevy_mod_scripting

Bevy Scripting Plugin
Apache License 2.0
390 stars 31 forks source link

Send ScriptErrorEvent when load fails. #125

Closed shanecelis closed 5 days ago

shanecelis commented 2 weeks ago

Love this project. Using it to make a little game programming environment for my eight year old. In this PR I merely closed the loop to ensure either a ScriptLoadedEvent was fired or a ScriptErrorEvent was fired.

makspll commented 6 days ago

This makes sense to me, and that's an amazing project 😃 Thanks for the PR!