From 23673f0b114f31b68fba3915d574fda501906e78 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 22 Oct 2020 20:34:02 -0400 Subject: [PATCH] typo --- core/src/mindustry/ctype/UnlockableContent.java | 2 +- core/src/mindustry/io/legacy/LegacyIO.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/ctype/UnlockableContent.java b/core/src/mindustry/ctype/UnlockableContent.java index 9020cd0ff1..fb182851e0 100644 --- a/core/src/mindustry/ctype/UnlockableContent.java +++ b/core/src/mindustry/ctype/UnlockableContent.java @@ -113,7 +113,7 @@ public abstract class UnlockableContent extends MappableContent{ } /** Unlocks this content, but does not fire any events. */ - public void quiteUnlock(){ + public void quietUnlock(){ if(!unlocked()){ unlocked = true; Core.settings.put(name + "-unlocked", true); diff --git a/core/src/mindustry/io/legacy/LegacyIO.java b/core/src/mindustry/io/legacy/LegacyIO.java index 0bb84f3fc7..15cb756081 100644 --- a/core/src/mindustry/io/legacy/LegacyIO.java +++ b/core/src/mindustry/io/legacy/LegacyIO.java @@ -70,7 +70,7 @@ public class LegacyIO{ String name = stream.readUTF(); Content out = Vars.content.getByName(type, name); if(out instanceof UnlockableContent u){ - u.unlock(); + u.quietUnlock(); } } }