Skip to content

Commit e415b3a

Browse files
committed
Fix score updating in bef/bang
1 parent 1b18730 commit e415b3a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

plugins/duckhunt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,6 @@ def update_score(nick, chan, db, conn, shoot=0, friend=0):
280280
.where(table.c.chan == chan.lower())
281281
.where(table.c.name == nick.lower())).fetchone()
282282
if score:
283-
score = score[0]
284-
score += 1
285283
dbupdate(nick, chan, db, conn, score[0] + shoot, score[1] + friend)
286284
else:
287285
dbadd_entry(nick, chan, db, conn, shoot, friend)

0 commit comments

Comments
 (0)