From 56e7ffe48b515da894612297500ae9847862d165 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 5 Mar 2016 22:02:06 +0200 Subject: [PATCH] Pass in weapon explicitly to avoid it being confused with the color. --- koperkapel/vehicles/walking.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koperkapel/vehicles/walking.py b/koperkapel/vehicles/walking.py index 8061f2c..57c53a8 100644 --- a/koperkapel/vehicles/walking.py +++ b/koperkapel/vehicles/walking.py @@ -21,12 +21,12 @@ class Walking(Vehicle): roach = WorldRoach() if num_roaches == 1: # Return a single large roach - avatar = default_roaches.assemble(roach, weapon) + avatar = default_roaches.assemble(roach, weapon=weapon) avatar.anchor = (0, 0) elif num_roaches < 6: - avatar = roaches_quartet.assemble(roach, weapon) + avatar = roaches_quartet.assemble(roach, weapon=weapon) avatar.anchor = (0, 0) else: - avatar = roaches_nonet.assemble(roach, weapon) + avatar = roaches_nonet.assemble(roach, weapon=weapon) avatar.anchor = (0, 0) return avatar -- 2.34.1