mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-21 13:28:12 +03:00
Update SStats.java
This commit is contained in:
parent
137792131e
commit
d9b2f4ae67
@ -100,7 +100,7 @@ public class SStats implements SteamUserStatsCallback{
|
||||
for(Planet planet : content.planets()){
|
||||
for(Sector sec : planet.sectors){
|
||||
if(sec.hasBase()){
|
||||
for(var v : sec.info.production.values()){
|
||||
for(ExportStat v : sec.info.production.values()){
|
||||
if(v.mean > 0) total += v.mean * 60;
|
||||
}
|
||||
}
|
||||
@ -178,7 +178,7 @@ public class SStats implements SteamUserStatsCallback{
|
||||
});
|
||||
|
||||
Events.on(UnitControlEvent.class, e -> {
|
||||
if(e.unit instanceof BlockUnitc block && block.tile().block == Blocks.router){
|
||||
if(e.unit instanceof BlockUnitc && ((BlockUnitc)block).tile().block == Blocks.router){
|
||||
becomeRouter.complete();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user