Merge pull request #514 from argonui/playmat-hider

Playermat click interceptor: tag addition and bugfix
This commit is contained in:
Chr1Z 2023-12-19 01:19:07 +01:00 committed by GitHub
commit 67abe7fd1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -28,6 +28,11 @@
"Nickname": "PlayermatClickInterceptor",
"Snap": true,
"Sticky": true,
"Tags": [
"CameraZoom_ignore",
"CleanUpHelper_ignore",
"displacement_excluded"
],
"Tooltip": false,
"Transform": {
"posX": -27.94,

View File

@ -4,7 +4,7 @@ function onSave() return JSON.encode(interactable) end
function onLoad(savedData)
if savedData and savedData ~= "" then
interactable = JSON.encode(savedData)
interactable = JSON.decode(savedData)
end
self.interactable = interactable
end