Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: Dullstar on August 20, 2019, 06:59:53 PM

Title: [BUG][EDITOR] Error placing object after selecting lemming limited object
Post by: Dullstar on August 20, 2019, 06:59:53 PM
To reproduce:

1) Select an entrance or an exit that has a lemming limit. Alternatively, assign a lemming limit to an entrance or an exit that does not have one.
2) Attempt to place a new/select an existing object for which a lemming limit is not supported.

The editor will then display two error messages one after the other. The display order is first "Set lemming limit, but first selected piece is not able to have this value!", then "Lemming limit set for incompatible object." You can click through the error messages and continue editing as if nothing happened. I didn't notice anything off about the new objects but I also didn't inspect the file output for any garbage data.

Note that this does not happen if you attempt to add terrain. If you attempt to add a new object that supports a limit, the object will still be created with the default value of 0 as expected (i.e. it doesn't appear to be trying to assign the selected object's lemming limit to the new object). Unselecting the entrance/exit first does not prevent the error from appearing, nor does selecting terrain before selecting the object. However, selecting an entrance/exit without a limit before selecting the next object will prevent the error.


What if there are multiple objects in the selection? I noticed some inconsistent behavior. If I have time later, I can try recording a video of this if it would help with investigating the bug. I spoiler tagged it because I'm not as confident in the accuracy of the description.
Spoiler (click to show/hide)
Title: Re: [BUG][EDITOR] Error placing object after selecting lemming limited object
Post by: namida on August 23, 2019, 07:53:22 PM
Closing this topic as I believe this is simply a specific case of this: https://www.lemmingsforums.net/index.php?topic=4356.0