From 125638a07957e26ed5519c6df0ddb110485713a3 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 1 Aug 2023 00:27:07 +0100 Subject: [PATCH] pos_marker, pos_marker_wall: default to 1 hp --- worldeditadditions_core/core/entities/pos_marker.lua | 2 +- worldeditadditions_core/core/entities/pos_marker_wall.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/worldeditadditions_core/core/entities/pos_marker.lua b/worldeditadditions_core/core/entities/pos_marker.lua index 3ffb83e..dff3c7d 100644 --- a/worldeditadditions_core/core/entities/pos_marker.lua +++ b/worldeditadditions_core/core/entities/pos_marker.lua @@ -18,7 +18,7 @@ local WEAPositionMarker = { collisionbox = { -0.55, -0.55, -0.55, 0.55, 0.55, 0.55 }, physical = false, collide_with_objects = false, - health = 0, + hp_max = 1, textures = { "worldeditadditions_core_bg.png", diff --git a/worldeditadditions_core/core/entities/pos_marker_wall.lua b/worldeditadditions_core/core/entities/pos_marker_wall.lua index 7cf3903..81d50d4 100644 --- a/worldeditadditions_core/core/entities/pos_marker_wall.lua +++ b/worldeditadditions_core/core/entities/pos_marker_wall.lua @@ -22,7 +22,8 @@ local WEAPositionMarkerWall = { -- ^^ { xmin, ymin, zmin, xmax, ymax, zmax } relative to obj pos physical = false, collide_with_objects = false, - + hp_max = 1, + textures = { "worldeditadditions_core_marker_wall.png", "worldeditadditions_core_marker_wall.png",