Deployment script fixes

This commit is contained in:
Anuken
2021-07-01 11:36:51 -04:00
parent fecaf768ab
commit f78ee66049
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -501,9 +501,11 @@ task deployAll{
dependsOn "desktop:packrWindows64"
dependsOn "desktop:packrWindows32"
dependsOn "desktop:packrMacOS"
if(versionModifier != "steam"){
dependsOn "server:deploy"
dependsOn "android:deploy"
}
}
task resolveDependencies{
doLast{
@@ -30,7 +30,7 @@ public interface Payload extends Position{
return false;
}
/** @return whether this payload fits in a given size. 2.5 is the max for a standard 3x3 conveyor. */
/** @return whether this payload fits in a given size. 3 is the max for a standard 3x3 conveyor. */
default boolean fits(float s){
return size() / tilesize <= s;
}