Skip to content

Commit

Permalink
Fix an issue with Slimehorn generation
Browse files Browse the repository at this point in the history
  • Loading branch information
DiddiLeija committed Apr 11, 2024
1 parent ca463fa commit 89bf9cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,13 @@ class SlimehornBase(BaseMob):
imgs = [tuple(), tuple()]

def __init__(self, x, y, yzero=None, variant=False):
self.x = self.x
self.x = x
self.y = y
self.variant = variant
# NOTE: There's a very low chance for us to use
# "yzero" here, but in case we consider adding a
# Slimehorn movement feature in the future, I added it here.
self.yzero = yzero

def update(self):
# TODO: By now, Slimehorns won't move.
Expand Down

0 comments on commit 89bf9cf

Please sign in to comment.