From d31a95b3a33e834ba82df76163924e797dc60cd0 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 12 Mar 2016 22:30:37 +0000 Subject: [PATCH] wrong order for tetris scores --- modules/vitetris/vitetris.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/vitetris/vitetris.js b/modules/vitetris/vitetris.js index 2bd576e..4231322 100644 --- a/modules/vitetris/vitetris.js +++ b/modules/vitetris/vitetris.js @@ -19,7 +19,7 @@ var vitetris = function(dbot) { var match = msg.match(/([^ ]+) vs\. ([^ ]+) (\d)-(\d)/); if(match) { if(match[3] > match[4]) { - dbot.say(this.config.streamServer, this.config.streamChannel, match[1] + ' beat ' + match[2] + ' at tetris ('+match[3] + '-'+match[4]+')'); + dbot.say(this.config.streamServer, this.config.streamChannel, match[1] + ' beat ' + match[2] + ' at tetris ('+match[4] + '-'+match[3]+')'); } else { dbot.say(this.config.streamServer, this.config.streamChannel, match[2] + ' beat ' + match[1] + ' at tetris ('+match[3] + '-'+match[4]+')'); }