Update Utils.lua (#1655)

Small bugfix for UTILS.LoadSetOfGroups
This commit is contained in:
Applevangelist 2021-12-06 14:57:49 +01:00 committed by GitHub
parent 493b090534
commit 18685d1a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2137,7 +2137,7 @@ end
-- @return Core.Set#SET_GROUP Set of GROUP objects.
-- Returns nil when file cannot be read. Returns a table of data entries if Spawn is false: `{ groupname=groupname, size=size, coordinate=coordinate }`
function UTILS.LoadSetOfGroups(Path,Filename,Spawn)
local spawn = SPAWN==false and false or true
local spawn = Spawn==false and false or true
local filename = Filename or "SetOfGroups"
local setdata = SET_GROUP:New()
local datatable = {}