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