Closed GoogleFrog closed 8 years ago
This didn't happen when testing so presumably newer engines changed something or some corner case happened.
The gadget is only for allowing empty Surfboards to be transported so it's not a big deal to disable it for the time being.
The later engines implementation was in case AllowTransport call-in started existing in engine. It hasn't so far so the simple version can't be used but it shouldn't be hard to make it happen.
So to clarify: are the suggestive comments at the bottom for a real engine version which we are not using yet? The surfboard thing is rather unimportant so I will just disable the gadget and remove surfboard transportability.
The call-in in the suggestive comment is planned only, so no real engine version has that yet.
The gadget has a recursion error https://springrts.com/mantis/view.php?id=4833
There is something at the bottom talking about a new version for later engines. This should be implemented if it is real.
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_conditional_transportability.lua