remove vector lines on cleanup

This commit is contained in:
Chr1Z93 2022-11-30 11:58:04 +01:00
parent 9fd95fc126
commit 7c3af7de31

View File

@ -5,8 +5,8 @@
-- - puts everything on playmats and hands into respective trashcans -- - puts everything on playmats and hands into respective trashcans
-- - use the IGNORE_TAG to exclude objects from tidying (default: "CleanUpHelper_Ignore") -- - use the IGNORE_TAG to exclude objects from tidying (default: "CleanUpHelper_Ignore")
information = { information = {
version = "2.4", version = "2.5",
last_updated = "24.11.2022" last_updated = "30.11.2022"
} }
-- enable this for debugging -- enable this for debugging
@ -179,8 +179,13 @@ function cleanUp()
getTrauma() getTrauma()
resetCounters() resetCounters()
-- bless / curse manager prints removed amounts
removeBlessCurse() removeBlessCurse()
printToAll("Removing vector lines...", "White")
removeLines()
printToAll("Discarding player hands...", "White") printToAll("Discarding player hands...", "White")
discardHands() discardHands()
@ -266,6 +271,11 @@ function removeBlessCurse()
end end
end end
-- remove drawn lines
function removeLines()
Global.setVectorLines({})
end
-- discard all hand objects -- discard all hand objects
function discardHands() function discardHands()
for i = 1, 4 do for i = 1, 4 do