keep scenarioName intact
This commit is contained in:
parent
ba6bd5e222
commit
500ddf6d9c
@ -82,10 +82,9 @@ function onCollisionExit(collisionInfo)
|
||||
if not collisionEnabled then return end
|
||||
local object = collisionInfo.collision_object
|
||||
|
||||
-- reset data if scenario reference card is removed
|
||||
-- reset token metadata if scenario reference card is removed
|
||||
if object.getName() == "Scenario" then
|
||||
tokenData = {}
|
||||
currentScenario = nil
|
||||
useFrontData = nil
|
||||
fireTokenDataChangedEvent()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user