mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2025-08-15 10:47:23 +00:00
.36 fix
This commit is contained in:
parent
a57342b184
commit
dbe7497ff2
10
mist.lua
10
mist.lua
@ -8,7 +8,7 @@ mist = {}
|
|||||||
-- don't change these
|
-- don't change these
|
||||||
mist.majorVersion = 3
|
mist.majorVersion = 3
|
||||||
mist.minorVersion = 5
|
mist.minorVersion = 5
|
||||||
mist.build = 35
|
mist.build = 36
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -4780,7 +4780,7 @@ mist.getCurrentGroupData = function(gpName)
|
|||||||
newData.name = gpName
|
newData.name = gpName
|
||||||
newData.groupId = tonumber(newGroup:getID())
|
newData.groupId = tonumber(newGroup:getID())
|
||||||
newData.category = newGroup:getCategory()
|
newData.category = newGroup:getCategory()
|
||||||
|
newData.groupName = gpName
|
||||||
|
|
||||||
if newData.category == 2 then
|
if newData.category == 2 then
|
||||||
newData.category = 'vehicle'
|
newData.category = 'vehicle'
|
||||||
@ -5026,9 +5026,13 @@ mist.teleportToPoint = function(vars) -- main teleport function that all of tele
|
|||||||
end
|
end
|
||||||
|
|
||||||
--tostring, tostring(),
|
--tostring, tostring(),
|
||||||
|
if not newGroupData.country and mist.DBs.groupsByName[newGroupData.groupName].country then
|
||||||
newGroupData.country = mist.DBs.groupsByName[newGroupData.groupName].country
|
newGroupData.country = mist.DBs.groupsByName[newGroupData.groupName].country
|
||||||
|
end
|
||||||
|
if not newGroupData.category and mist.DBs.groupsByName[newGroupData.groupName].category then
|
||||||
newGroupData.category = mist.DBs.groupsByName[newGroupData.groupName].category
|
newGroupData.category = mist.DBs.groupsByName[newGroupData.groupName].category
|
||||||
|
end
|
||||||
|
|
||||||
if route then
|
if route then
|
||||||
newGroupData.route = route
|
newGroupData.route = route
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user