mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 07:39:39 +07:00
Fixed #917
This commit is contained in:
parent
a299c39d7b
commit
a5cec84be1
@ -181,12 +181,14 @@ public class Map implements Comparable<Map>, Publishable{
|
||||
|
||||
@Override
|
||||
public FileHandle createSteamFolder(String id){
|
||||
return null;
|
||||
FileHandle mapFile = tmpDirectory.child("map_" + id).child("map.msav");
|
||||
file.copyTo(mapFile);
|
||||
return mapFile.parent();
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileHandle createSteamPreview(String id){
|
||||
return null;
|
||||
return previewFile();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -194,7 +194,9 @@ public class Drill extends Block{
|
||||
});
|
||||
|
||||
stats.add(BlockStat.drillSpeed, 60f / drillTime * size * size, StatUnit.itemsSecond);
|
||||
stats.add(BlockStat.boostEffect, liquidBoostIntensity, StatUnit.timesSpeed);
|
||||
if(liquidBoostIntensity > 0){
|
||||
stats.add(BlockStat.boostEffect, liquidBoostIntensity * liquidBoostIntensity, StatUnit.timesSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
void countOre(Tile tile){
|
||||
|
Loading…
Reference in New Issue
Block a user