From ca7e2571223bf5ad7ec5722b3948578763add970 Mon Sep 17 00:00:00 2001 From: Erick Zanardo Date: Tue, 22 Mar 2022 13:44:32 -0300 Subject: [PATCH] feat: pr suggestion --- lib/game/components/pathway.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)); }