aboutsummaryrefslogtreecommitdiff
path: root/src/macroknight/systems.hy
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2025-05-28 01:19:25 +0100
committerGene Pasquet <dev@etenil.net>2025-05-28 01:19:25 +0100
commit71ca9de9cadfcbd41327cbc37a94f54794d2316d (patch)
treeb690ded62c0cb36bb510c7c55c63366e5496e959 /src/macroknight/systems.hy
parent4fd3c145865cde9f6afaddf6f1eed376ba0384bb (diff)
Start using pymunk for physics
Diffstat (limited to 'src/macroknight/systems.hy')
-rw-r--r--src/macroknight/systems.hy2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macroknight/systems.hy b/src/macroknight/systems.hy
index 91d4e8c..b967504 100644
--- a/src/macroknight/systems.hy
+++ b/src/macroknight/systems.hy
@@ -31,7 +31,7 @@
~@body)))
(defsystem apply-gravity
- (not entity.fixed)
+ (not (or entity.fixed entity.managed))
(.move entity #(0 GRAVITY)))
(defsystem apply-collisions