obsolete scriptstate removal
This commit is contained in:
parent
69120fffec
commit
06d56375c2
@ -28,7 +28,7 @@
|
|||||||
"IgnoreFoW": false,
|
"IgnoreFoW": false,
|
||||||
"LayoutGroupSortIndex": 0,
|
"LayoutGroupSortIndex": 0,
|
||||||
"Locked": false,
|
"Locked": false,
|
||||||
"LuaScriptState": "{\"distance\":\"12\",\"pitch\":\"74\"}",
|
"LuaScriptState": "",
|
||||||
"LuaScript_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua",
|
"LuaScript_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/CameraPlacementHelper.cecc3e.ttslua",
|
||||||
"MeasureMovement": false,
|
"MeasureMovement": false,
|
||||||
"Name": "Custom_Assetbundle",
|
"Name": "Custom_Assetbundle",
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"IgnoreFoW": false,
|
"IgnoreFoW": false,
|
||||||
"LayoutGroupSortIndex": 0,
|
"LayoutGroupSortIndex": 0,
|
||||||
"Locked": false,
|
"Locked": false,
|
||||||
"LuaScriptState_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.luascriptstate",
|
"LuaScriptState": "",
|
||||||
"LuaScript_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.ttslua",
|
"LuaScript_path": "OptionPanelSource.830bd0/jaqenZannsNavigationOverlay.a8affa/jaqenZannsNavigationOverlayTile.9f2481.ttslua",
|
||||||
"MeasureMovement": false,
|
"MeasureMovement": false,
|
||||||
"Name": "Custom_Tile",
|
"Name": "Custom_Tile",
|
||||||
|
File diff suppressed because one or more lines are too long
@ -207,10 +207,8 @@ function onLoad(saved_data)
|
|||||||
cameraParams = loaded_data.cameras
|
cameraParams = loaded_data.cameras
|
||||||
fullVisibility = loaded_data.fullVis
|
fullVisibility = loaded_data.fullVis
|
||||||
playVisibility = loaded_data.playVis
|
playVisibility = loaded_data.playVis
|
||||||
|
|
||||||
local allclaims = loaded_data.claims
|
|
||||||
for i = 1, 4 do
|
for i = 1, 4 do
|
||||||
playermatData[i].claims = allclaims[i]
|
playermatData[i].claims = loaded_data.claims[i]
|
||||||
end
|
end
|
||||||
|
|
||||||
resetOverlay()
|
resetOverlay()
|
||||||
@ -698,7 +696,7 @@ function loadCamera(player, _, idValue)
|
|||||||
local minZ = playermatData[newMatIndex].minZ
|
local minZ = playermatData[newMatIndex].minZ
|
||||||
local maxZ = playermatData[newMatIndex].maxZ
|
local maxZ = playermatData[newMatIndex].maxZ
|
||||||
|
|
||||||
for i, v in pairs(matObjects) do
|
for _, v in pairs(matObjects) do
|
||||||
local obj = v.hit_object
|
local obj = v.hit_object
|
||||||
if obj.type == 'Card' or obj.type == 'Infinite' then
|
if obj.type == 'Card' or obj.type == 'Infinite' then
|
||||||
local bounds = obj.getBounds()
|
local bounds = obj.getBounds()
|
||||||
@ -809,10 +807,8 @@ function getPlayerCount()
|
|||||||
playerColors[i] = color
|
playerColors[i] = color
|
||||||
end
|
end
|
||||||
|
|
||||||
local playerList = getSeatedPlayers()
|
for _, v in ipairs(getSeatedPlayers()) do
|
||||||
|
for _, vv in ipairs(playerColors) do
|
||||||
for i, v in ipairs(playerList) do
|
|
||||||
for ii, vv in ipairs(playerColors) do
|
|
||||||
if v == vv then
|
if v == vv then
|
||||||
playerCount = playerCount + 1
|
playerCount = playerCount + 1
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user