From 2a4ad28e3e8b5fc9949ea4aa0649bfa5ea5a02cc Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 31 Dec 2022 00:20:53 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A2=D1=83=D1=82=20=D1=82=D0=BE=D0=B6=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/dbotthepony/kstarbound/defs/animation/AtlasDefinition.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/defs/animation/AtlasDefinition.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/defs/animation/AtlasDefinition.kt index 01c85bd8..bf17dec8 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/defs/animation/AtlasDefinition.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/defs/animation/AtlasDefinition.kt @@ -46,7 +46,7 @@ class AtlasDefinition private constructor( } fun any(): Sprite { - return get("root") ?: get("0") ?: first + return get("root") ?: get("0") ?: get("default") ?: first } class Sprite(