Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

doesn't start with a recent version of lua #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ local function loadGameData()
local mpqPath = baseDataDir .. "/" .. mpqFolderNames[i]
local mpqLoadOrderFileName = mpqPath .. "/" .. ".loadorder"
local file = io.open (mpqLoadOrderFileName, "r")
local fileData = file:read("a")
local fileData = file:read("*a")
file:close()
local mpqFiles = Split(fileData, ",")
for _, mpqFile in ipairs(mpqFiles) do
Expand Down