Merge pull request #738 from argonui/on-exit-handling

Added "game exiting" handling
This commit is contained in:
dscarpac 2024-07-02 15:24:19 -05:00 committed by GitHub
commit cd10d858ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,8 @@
"HandTrigger.be2f17",
"HandTrigger.0285cc",
"HandTrigger.a70eee",
"ScriptingTrigger.a2f932",
"FogOfWarTrigger.3aab97",
"TableLegBottomRight.afc863",
"TableLegBottomLeft.c8edca",
"TableLegTopLeft.393bf7",
@ -97,7 +99,6 @@
"Damagetokens.480bda",
"Resourcetokens.9fadf9",
"Connectionmarkers.170f10",
"FogOfWarTrigger.3aab97",
"ChaosTokenReserve.106418",
"ClueCounter.37be78",
"ClueCounter.1769ed",
@ -127,7 +128,6 @@
"ChaosBag.fea079",
"DataHelper.708279",
"BlessCurseManager.5933fb",
"ScriptingTrigger.a2f932",
"EdgeoftheEarth.895eaa",
"TheDream-Eaters.a16a1a",
"TheFeastofHemlockVale.c740af",

View File

@ -207,6 +207,7 @@ end
-- TTS event for objects that leave zones
function onObjectLeaveZone(zone, object)
if zone.isDestroyed() or object.isDestroyed() then return end
if zone.type == "Hand" and object.hasTag("CardWithHelper") then
object.call("updateDisplay")
end