diff --git a/lib/game/components/pathway.dart b/lib/game/components/pathway.dart index 74c6d355..0c29dd7b 100644 --- a/lib/game/components/pathway.dart +++ b/lib/game/components/pathway.dart @@ -150,8 +150,7 @@ class Pathway extends BodyComponent with InitialPosition, Layered { final fixturesDef = []; for (final path in _paths) { - final chain = ChainShape() - ..createChain(path); + final chain = ChainShape()..createChain(path); fixturesDef.add(FixtureDef(chain)); }