From ea5ab3835d9ae0890f7bea70f6cb3edcd4bcc7fe Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Thu, 1 Jun 2023 09:25:49 +0200 Subject: [PATCH] Prevent Lua error when trying to load a constellations file that doesn't exist --- data/assets/util/constellations_helper.asset | 1 - 1 file changed, 1 deletion(-) diff --git a/data/assets/util/constellations_helper.asset b/data/assets/util/constellations_helper.asset index 06046c6202..8e3b8e7627 100644 --- a/data/assets/util/constellations_helper.asset +++ b/data/assets/util/constellations_helper.asset @@ -15,7 +15,6 @@ local function findFullName(abbreviation) local fullName = "" if file == nil then - file:close() return nil end