commit
cb3289a04c
@ -106,6 +106,13 @@ do
|
||||
end, 0.3)
|
||||
end
|
||||
|
||||
-- Ends the tour for all players
|
||||
function TourManager.stopTourForAll()
|
||||
for playerColor, data in pairs(tourState) do
|
||||
stopTour(Player[playerColor])
|
||||
end
|
||||
end
|
||||
|
||||
-- Updates the card UI for the script at the current index, moves the camera to the proper
|
||||
-- position, and shows the card.
|
||||
---@param playerColor string Player color to show the current card for
|
||||
|
@ -32,3 +32,7 @@ end
|
||||
function deleteStarter(_, _, _)
|
||||
self.destruct()
|
||||
end
|
||||
|
||||
function onDestroy()
|
||||
tourManager.stopTourForAll()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user