From b11d7eb3f76f33be9c755d516b472415b9ddf404 Mon Sep 17 00:00:00 2001 From: Remy Raes Date: Mon, 28 Aug 2023 23:52:08 +0200 Subject: [PATCH] fix: migrate some API values to snake_case --- mod/scripts/vscripts/utils/map_configuration.nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/scripts/vscripts/utils/map_configuration.nut b/mod/scripts/vscripts/utils/map_configuration.nut index 1761f43..ec0854c 100644 --- a/mod/scripts/vscripts/utils/map_configuration.nut +++ b/mod/scripts/vscripts/utils/map_configuration.nut @@ -120,12 +120,12 @@ void function LoadParkourMapConfiguration(table data) // Start/finish lines // Start - table startLineData = expect table(data["startLine"]) + table startLineData = expect table(data["start_line"]) ParkourLine startLine = BuildParkourLine(startLineData) file.startMins = startLine.triggerMins file.startMaxs = startLine.triggerMaxs // End - table finishLineData = expect table(data["finishLine"]) + table finishLineData = expect table(data["finish_line"]) ParkourLine endLine = BuildParkourLine(finishLineData) file.endMins = endLine.triggerMins file.endMaxs = endLine.triggerMaxs