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:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user