Disk Drive Texs

This commit is contained in:
Raoul Van den Berge
2016-07-09 18:07:26 +02:00
parent 8fdcd98dbf
commit 7591f18298
13 changed files with 4 additions and 0 deletions

View File

@@ -263,6 +263,10 @@ public class TileDiskDrive extends TileNode implements IStorageProvider, IStorag
}
}
if (storedMax == 0) {
return 0;
}
return (int) Math.floor((stored / storedMax) * 7f);
}