From b21b71d9d01f9dd5784be10324786c0865236c7f Mon Sep 17 00:00:00 2001 From: Squornshellous Beta Date: Thu, 6 Aug 2020 19:36:39 +0100 Subject: [PATCH] More check fixes --- src/js/game/buildings/underground_belt.js | 2 +- src/js/game/meta_building_registry.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/game/buildings/underground_belt.js b/src/js/game/buildings/underground_belt.js index 885b838f..b93c46db 100644 --- a/src/js/game/buildings/underground_belt.js +++ b/src/js/game/buildings/underground_belt.js @@ -19,7 +19,7 @@ export const arrayUndergroundRotationVariantToMode = [ /** @enum {string} */ //Github insisted these needed to be on multiple lines to pass a check. -export const enumUndergroundBeltVariants = { +export const enumUndergroundBeltVariants = { side: "side", sideMirrored: "side-mirrored", tier2: "tier2", diff --git a/src/js/game/meta_building_registry.js b/src/js/game/meta_building_registry.js index c43b4c90..5cf34930 100644 --- a/src/js/game/meta_building_registry.js +++ b/src/js/game/meta_building_registry.js @@ -93,13 +93,13 @@ export function initMetaBuildingRegistry() { 32, MetaUndergroundBeltBuilding, enumUndergroundBeltVariants.tier2SideMirrored, - 0, + 0 ); registerBuildingVariant( 33, MetaUndergroundBeltBuilding, enumUndergroundBeltVariants.tier2SideMirrored, - 1, + 1 ); // Hub