Version parse fix

This commit is contained in:
Anuken 2020-12-23 14:37:39 -05:00
parent a21cc32be9
commit f5c270347c
2 changed files with 11 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class Version{
int dot = str.indexOf('.');
if(dot != -1){
int major = Strings.parseInt(str.substring(0, dot)), minor = Strings.parseInt(str.substring(dot + 1));
int major = Strings.parseInt(str.substring(0, dot), 0), minor = Strings.parseInt(str.substring(dot + 1), 0);
return build >= major && revision >= minor;
}else{
return build >= Strings.parseInt(str, 0);

View File

@ -0,0 +1,10 @@
[This is a truncated changelog, see Github for full notes]
- Fixed Quad AI
- Fixed crash in conveyor upgrade pathing
- Fixed other various crashes
- Made payload pickups prioritize units in blocks instead of the blocks themselves
- Increased foreshadow coolant effectiveness, but slightly decreased rotation speed
- Improved space skybox scaling
- Added building damage stats to bullets
- Added WIP mod browser for GitHub mods
- Added bridge link preview