From 6e1eedc1abf7c1cba74dcb3ef014824b90f26a5d Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 29 Dec 2020 19:48:30 -0500 Subject: [PATCH] Cleanup --- core/src/mindustry/core/Logic.java | 2 +- core/src/mindustry/world/meta/values/AmmoListValue.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/core/Logic.java b/core/src/mindustry/core/Logic.java index 86c9ec1c97..91a0c410c1 100644 --- a/core/src/mindustry/core/Logic.java +++ b/core/src/mindustry/core/Logic.java @@ -388,7 +388,7 @@ public class Logic implements ApplicationListener{ Time.update(); //weather is serverside - if(!net.client()){ + if(!net.client() && !state.isEditor()){ updateWeather(); for(TeamData data : state.teams.getActive()){ diff --git a/core/src/mindustry/world/meta/values/AmmoListValue.java b/core/src/mindustry/world/meta/values/AmmoListValue.java index b1d6066ef9..16c759f110 100644 --- a/core/src/mindustry/world/meta/values/AmmoListValue.java +++ b/core/src/mindustry/world/meta/values/AmmoListValue.java @@ -47,7 +47,7 @@ public class AmmoListValue implements StatValue{ } if(type.buildingDamageMultiplier != 1){ - sep(bt, Core.bundle.format("bullet.buildingdamage", type.buildingDamageMultiplier * 100)); + sep(bt, Core.bundle.format("bullet.buildingdamage", (int)(type.buildingDamageMultiplier * 100))); } if(type.splashDamage > 0){