reset playarea image

This commit is contained in:
Chr1Z93 2022-12-08 14:38:18 +01:00
parent 7c3af7de31
commit 285a638577

View File

@ -6,7 +6,7 @@
-- - use the IGNORE_TAG to exclude objects from tidying (default: "CleanUpHelper_Ignore")
information = {
version = "2.5",
last_updated = "30.11.2022"
last_updated = "08.12.2022"
}
-- enable this for debugging
@ -183,6 +183,9 @@ function cleanUp()
-- bless / curse manager prints removed amounts
removeBlessCurse()
-- image swapper prints reset message
resetPlayareaImage()
printToAll("Removing vector lines...", "White")
removeLines()
@ -271,6 +274,11 @@ function removeBlessCurse()
end
end
-- reset the playarea's image
function resetPlayareaImage()
getObjectFromGUID("b7b45b").call("updateSurface")
end
-- remove drawn lines
function removeLines()
Global.setVectorLines({})