diff --git a/files/classes/comment.py b/files/classes/comment.py index 64b2235b27..2625f1c467 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -361,8 +361,6 @@ class Comment(Base): amount = randint(0, 3) self.upvotes += amount g.db.add(self) - self.author.coins += amount - g.db.add(self.author) g.db.commit() for c in self.options: diff --git a/files/classes/submission.py b/files/classes/submission.py index bb4a421029..55d3be57c6 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -380,8 +380,6 @@ class Submission(Base): self.views += amount*random.randint(3, 5) self.upvotes += amount g.db.add(self) - self.author.coins += amount - g.db.add(self.author) g.db.commit() for c in self.options: diff --git a/files/templates/submission.html b/files/templates/submission.html index 673cff48a8..aa4dbeabf8 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -228,25 +228,25 @@ } - :#marseyscooter: + :#marseyscooter: {% endif %} {% if p.award_count("scooter") > 1 %} - :#marseyscooter: + :#marseyscooter: {% endif %} {% if p.award_count("scooter") > 2 %} - :#marseyscooter: + :#marseyscooter: {% endif %} {% if p.award_count("scooter") > 3 %} - :#marseyscooter: + :#marseyscooter: {% endif %}