Skip to content

Commit

Permalink
fix: migrate some API values to snake_case
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Aug 28, 2023
1 parent 75d30a2 commit b11d7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/scripts/vscripts/utils/map_configuration.nut
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b11d7eb

Please sign in to comment.