Author Topic: [BUG][EDITOR] All skills reset after undo  (Read 934 times)

0 Members and 1 Guest are viewing this topic.

Offline WillLem

  • Posts: 3384
  • Unity isn't sameness, it's togetherness
    • View Profile
[BUG][EDITOR] All skills reset after undo
« on: May 17, 2020, 12:21:32 AM »
I've noticed this one a few times. If I change the skillset, and then move a terrain piece or object, and then press Ctrl + Z to undo the move, the skillset resets to what it was before.

I'll keep an eye on this one because to be honest I can't seem to make it happen, it just happens every now and then.

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: [BUG][EDITOR] All skills reset after undo
« Reply #1 on: June 05, 2020, 03:23:22 AM »
Should be fixed in commit 3ae5ea4.

The source of this issue was that when testing "has the level changed?" for the purpose of writing undo history, skillset changes weren't being taken into account. Thus - a new Undo state wouldn't be saved until another change was made (a different level stat, or a piece moved / added / etc).
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)