shibbo / Fushigi

An editor for Super Mario Bros. Wonder.
MIT License
133 stars 30 forks source link

Fix adding multiple rail points on click #77

Closed ethanglide closed 11 months ago

ethanglide commented 11 months ago

The areaScene objects Draw2D was being called once per tile unit selected. This caused a bug where alt clicking would place multiple rail points in the same spot instead of just one. It was probably causing even more issues. This code was removed from the foreach loop it was in, and is now called once per frame as intended, and everything works great.