vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
239 stars 15 forks source link

Copy&Paste of units doesn't assign a new id #138

Closed kebby closed 3 weeks ago

kebby commented 3 weeks ago

When you c&p a unit the new unit has the same id as the copied one. This breaks as soon as you try to use sends to the new unit - they all arrive at the previous one (the UI also reflects that).

Please assign a new id to units when pasting.

vsariola commented 3 weeks ago

This is probably a result of the complete refactoring / rewrite of the model of the GUI, sorry! Investigating.

vsariola commented 3 weeks ago

Actually, probably vice versa: this was fixed by the big refactoring / rewrite, and you are probably still on 0.3.0, correct?

vsariola commented 3 weeks ago

If so, please try the latest development version from https://github.com/vsariola/sointu/actions/runs/8957552614 and report back if this solves your issue.

kebby commented 3 weeks ago

Seems fixed in the latest version, thanks!