diff --git a/core/assets/maps/two.msav b/core/assets/maps/two.msav index 30acd44530..7711373f5c 100644 Binary files a/core/assets/maps/two.msav and b/core/assets/maps/two.msav differ diff --git a/core/src/mindustry/editor/MapObjectivesDialog.java b/core/src/mindustry/editor/MapObjectivesDialog.java index 3a588487b8..017afcdefb 100644 --- a/core/src/mindustry/editor/MapObjectivesDialog.java +++ b/core/src/mindustry/editor/MapObjectivesDialog.java @@ -42,7 +42,12 @@ public class MapObjectivesDialog extends BaseDialog{ setProvider(String.class, (type, cons) -> cons.get("")); setInterpreter(String.class, (cont, name, type, field, remover, indexer, get, set) -> { name(cont, name, remover, indexer); - cont.area(get.get(), set).growX(); + + if(field != null && field.isAnnotationPresent(Multiline.class)){ + cont.area(get.get(), set).height(85f).growX(); + }else{ + cont.field(get.get(), set).growX(); + } }); setProvider(boolean.class, (type, cons) -> cons.get(false)); diff --git a/core/src/mindustry/game/MapObjectives.java b/core/src/mindustry/game/MapObjectives.java index 3a15d27b8d..b588b1bba6 100644 --- a/core/src/mindustry/game/MapObjectives.java +++ b/core/src/mindustry/game/MapObjectives.java @@ -160,7 +160,7 @@ public class MapObjectives implements Iterable, Eachable, Eachable, Eachable, Eachable, Eachable, Eachable