SourMesen / Mesen

Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#
https://www.mesen.ca
GNU General Public License v3.0
1.25k stars 317 forks source link

Lua script gets deleted / overwritten by Built-in Script example #798

Closed NESblast closed 4 years ago

NESblast commented 4 years ago

I found a fairly nasty little bug in the Lua Script Editor. It is reproducible as follows:

Congratulations! Your (myLuaScript.lua) script has now been overwritten by the Built-In example Script! Bye bye work!

Anyway i am enjoying Mesen and LUA scripting alot (when they don't get overwritten) so i just want to end on a positive thank you! Keep up the good work!

SourMesen commented 4 years ago

Thanks for the report - sorry if you lost some work due to this! This should be fixed as of the latest commit (you can grab the next appveyor build linked in the readme for the fix.)

Also fixed the same issue in Mesen-S

NESblast commented 4 years ago

Thanks for fixing this! No worries!

I didn't lose too much due to having some source control =)