From 7f896723be975bd7767ac46c4465c7dc44306d2d Mon Sep 17 00:00:00 2001 From: Darkness6030 <79508138+Darkness6030@users.noreply.github.com> Date: Tue, 3 Aug 2021 16:33:27 +0300 Subject: [PATCH] Small changes in reloadmaps command (#5687) Idk is it useful, but why not --- server/src/mindustry/server/ServerControl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/mindustry/server/ServerControl.java b/server/src/mindustry/server/ServerControl.java index a75cc39749..3d378f4d25 100644 --- a/server/src/mindustry/server/ServerControl.java +++ b/server/src/mindustry/server/ServerControl.java @@ -380,6 +380,8 @@ public class ServerControl implements ApplicationListener{ maps.reload(); if(maps.all().size > beforeMaps){ info("@ new map(s) found and reloaded.", maps.all().size - beforeMaps); + }else if(maps.all().size < beforeMaps){ + info("@ old map(s) deleted.", beforeMaps - maps.all().size); }else{ info("Maps reloaded."); }