From 17b526201511973c6fdeb337918e21fcbe532acf Mon Sep 17 00:00:00 2001 From: marblexu <314299052@qq.com> Date: Sat, 21 Sep 2019 10:41:25 +0800 Subject: [PATCH] fix attacked parameter error --- source/component/plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/component/plant.py b/source/component/plant.py index 75e3755..a179cfe 100644 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -158,7 +158,7 @@ class Plant(pg.sprite.Sprite): def digest(self): pass - def attacked(): + def attacked(self): pass def animation(self):