Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.82k stars 2.99k forks source link

Fix spawnwave ui when natural parameter is a variable #10307

Open JeanJPNM opened 3 weeks ago

JeanJPNM commented 3 weeks ago

If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:

Previously you couldn't set the x and y parameters of the spawnwave instruction if the value for the "natural" parameter was not exactly "false", now you can set them with "false" and any other variable name, except "true".

This allows you to use a variable name for the natural parameter without compromising your access to the x and y parameters.