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