aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperObject.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 11:59:51 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 11:59:51 +0100
commit46c2cbdcbe5e7dbc4d86a5d43b3bd7275b7a1c33 (patch)
tree31491ac6bfd880890861f1583547ff2eba3ba715 /game/prefab/ZapperObject.cpp
parent06d41eb2d58de21a8340ca59952b96cabc8caee6 (diff)
WIP
Diffstat (limited to 'game/prefab/ZapperObject.cpp')
-rw-r--r--game/prefab/ZapperObject.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp
index 712eca9..0a290e0 100644
--- a/game/prefab/ZapperObject.cpp
+++ b/game/prefab/ZapperObject.cpp
@@ -100,8 +100,6 @@ void ZapperObject::place(const crepe::vec2 & position, float rotation, float len
this->sprite.beam.data.size.x = length;
this->collider.dimensions = offset.rotate(rotation) * 2 + vec2(30, 30) * SCALE;
-
- this->set_active(true);
}
void ZapperObject::set_active(bool active) {