From 7be2fb125ec14fdecec6ca71d72dbf2306a17a56 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 1 Aug 2023 00:16:36 +0100 Subject: [PATCH] add more debug logging --- worldeditadditions_core/core/entities/pos_marker.lua | 1 + worldeditadditions_core/core/entities/pos_marker_wall.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/worldeditadditions_core/core/entities/pos_marker.lua b/worldeditadditions_core/core/entities/pos_marker.lua index 17d2b0d..3ffb83e 100644 --- a/worldeditadditions_core/core/entities/pos_marker.lua +++ b/worldeditadditions_core/core/entities/pos_marker.lua @@ -54,6 +54,7 @@ local WEAPositionMarker = { anchor.set_number(self.object, self.display_number) end, on_punch = function(self, _) + print("DEBUG:pos_marker on_punch") anchor.delete(self) end, on_blast = function(self, damage) diff --git a/worldeditadditions_core/core/entities/pos_marker_wall.lua b/worldeditadditions_core/core/entities/pos_marker_wall.lua index 3ffa287..7cf3903 100644 --- a/worldeditadditions_core/core/entities/pos_marker_wall.lua +++ b/worldeditadditions_core/core/entities/pos_marker_wall.lua @@ -53,6 +53,7 @@ local WEAPositionMarkerWall = { }) end, on_punch = function(self, _) + print("DEBUG:pos_marker_wall on_punch") anchor.delete(self) -- Only unmark the rest of the walls -- Unmark for the player that created this wall.... NOT the player who punched it!