Summary
The Lego PvP Extraction Island Template has a bug in its “float to int cast and operators” LEGO_Utilities.verse file.
The float cast is multiplying an int with 0.1 which silently scales the original value down without throwing an actual error.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Use the Lego PvP Extration template
Expected Result
The fixed code should look like this
Float(InInt : int)<reads><allocates>: float =
InInt * 1.0 # 1.0 instead of 0.1 as it currently is in the template
Observed Result
When casting ints to a float they get scaled down by a 0.1 multiplier
Platform(s)
any
