diff --git a/ispoof/objects/object.py b/ispoof/objects/object.py index 18a6f38..b17b829 100644 --- a/ispoof/objects/object.py +++ b/ispoof/objects/object.py @@ -3,7 +3,7 @@ class Object(): self.location = location def distance_to(self, other): - return self.location.distance(other.location) + return self.location.distance(other) def cooldown_to(self, other): - return self.location.get_cooldown(other.location) + 1 \ No newline at end of file + return self.location.get_cooldown(other) + 1 \ No newline at end of file