From 3ecc1c5dfe3357ee63d612e2b2bb1698142d2d68 Mon Sep 17 00:00:00 2001 From: Brockengespenst Date: Tue, 7 May 2024 18:05:52 +0200 Subject: [PATCH] Change PushButton collision goup to static --- src/object/pushbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/pushbutton.cpp b/src/object/pushbutton.cpp index 9d50f9e5e13..496b0b5dae5 100644 --- a/src/object/pushbutton.cpp +++ b/src/object/pushbutton.cpp @@ -30,7 +30,7 @@ const std::string BUTTON_SOUND = "sounds/switch.ogg"; } PushButton::PushButton(const ReaderMapping& mapping) : - StickyObject(mapping, "images/objects/pushbutton/pushbutton.sprite", LAYER_BACKGROUNDTILES+1, COLGROUP_MOVING), + StickyObject(mapping, "images/objects/pushbutton/pushbutton.sprite", LAYER_BACKGROUNDTILES+1, COLGROUP_STATIC), m_script(), m_state(OFF), m_dir(Direction::UP)