aboutsummaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/GameScene.cpp2
-rw-r--r--game/prefab/ZapperObject.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp
index c393ef7..1eefce1 100644
--- a/game/GameScene.cpp
+++ b/game/GameScene.cpp
@@ -21,8 +21,8 @@
#include "GameScene.h"
#include "MoveCameraManualyScript.h"
-#include "player/PlayerSubScene.h"
#include "background/BackgroundSubScene.h"
+#include "player/PlayerSubScene.h"
#include "prefab/ZapperObject.h"
using namespace crepe;
diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp
index 944a53f..4055ac4 100644
--- a/game/prefab/ZapperObject.cpp
+++ b/game/prefab/ZapperObject.cpp
@@ -77,7 +77,7 @@ ZapperObject::ZapperObject(crepe::GameObject && base)
body {add_component<Rigidbody>(Rigidbody::Data {
.body_type = Rigidbody::BodyType::KINEMATIC,
.kinematic_collision = false,
- .collision_layer = COLL_LAY_ZAPPER,
+ .collision_layer = COLL_LAY_ZAPPER,
})},
collider {add_component<BoxCollider>(vec2(0, 0))} {
this->place(this->transform.position, 0, 300);