small bugfix

This commit is contained in:
Chr1Z93 2023-04-12 18:45:28 +02:00
parent 06d56375c2
commit 94e4140e91

View File

@ -207,11 +207,10 @@ 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
for i = 1, 4 do for i = 1, 4 do
playermatData[i].claims = loaded_data.claims[i] playermatData[i].claims = loaded_data.claims[i]
end end
resetOverlay()
else else
cameraParams = { {}, {}, {}, {} } cameraParams = { {}, {}, {}, {} }
@ -230,6 +229,8 @@ function onLoad(saved_data)
fullVisibility = { false, false, false, false } fullVisibility = { false, false, false, false }
playVisibility = { false, false, false, false } playVisibility = { false, false, false, false }
end end
resetOverlay()
end end
function onSave() function onSave()