Removed the unneeded direction parameter from catapults. No longer has to be included in the json file, won't cause crash.

This commit is contained in:
Storm Dragon
2025-02-08 21:26:08 -05:00
parent bcaa4f7f17
commit 740ec3e825
5 changed files with 7 additions and 12 deletions

View File

@@ -59,7 +59,6 @@ class Level:
xPos[0],
obj["y"],
self.sounds,
direction=obj.get("direction", 1),
fireInterval=obj.get("fireInterval", 5000),
firingRange=obj.get("range", 20)
)