From d6a4da20cf9678d2fd2749992f859b9b837e5f81 Mon Sep 17 00:00:00 2001 From: Sven Date: Thu, 28 May 2020 23:03:33 +0200 Subject: [PATCH] Metadata Cleanup --- Scripts/DCS-BIOS/lib/MetadataEnd.lua | 3 +-- Scripts/DCS-BIOS/lib/MetadataStart.lua | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Scripts/DCS-BIOS/lib/MetadataEnd.lua b/Scripts/DCS-BIOS/lib/MetadataEnd.lua index d84504c33..01f9d032b 100644 --- a/Scripts/DCS-BIOS/lib/MetadataEnd.lua +++ b/Scripts/DCS-BIOS/lib/MetadataEnd.lua @@ -5,7 +5,6 @@ BIOS.protocol.beginModule("MetadataEnd", 0xfffe) -local defineString = BIOS.util.defineString local defineIntegerFromGetter = BIOS.util.defineIntegerFromGetter -- "data" will be set by the Protocol module @@ -25,4 +24,4 @@ local data = moduleBeingDefined.data defineIntegerFromGetter("_UPDATE_COUNTER", function() return data.updateCounter end, 255, "Metadata", "Update Counter") defineIntegerFromGetter("_UPDATE_SKIP_COUNTER", function() return data.updateSkipCounter end, 255, "Metadata", "Update Skip Counter") -BIOS.protocol.endModule() +BIOS.protocol.endModule() \ No newline at end of file diff --git a/Scripts/DCS-BIOS/lib/MetadataStart.lua b/Scripts/DCS-BIOS/lib/MetadataStart.lua index 4ef5b1852..e17cdeec8 100644 --- a/Scripts/DCS-BIOS/lib/MetadataStart.lua +++ b/Scripts/DCS-BIOS/lib/MetadataStart.lua @@ -6,7 +6,6 @@ BIOS.protocol.beginModule("MetadataStart", 0x0000) local defineString = BIOS.util.defineString -local defineIntegerFromGetter = BIOS.util.defineIntegerFromGetter -- "data" will be set by the Protocol module moduleBeingDefined.data = {} @@ -14,4 +13,4 @@ local data = moduleBeingDefined.data defineString("_ACFT_NAME", function() return data.acftName .. string.char(0) end, 24, "Metadata", "Aircraft Name (or NONE), null-terminated") -BIOS.protocol.endModule() +BIOS.protocol.endModule() \ No newline at end of file