From 978625917db35fb8e90d4ba2c7241eb984c1b3c5 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 8 Apr 2015 21:32:18 +0300 Subject: [PATCH] Fix addScore Well, this was pretty dumb. --- gamejolt/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamejolt/init.lua b/gamejolt/init.lua index 0a57463..1cc9e11 100644 --- a/gamejolt/init.lua +++ b/gamejolt/init.lua @@ -229,7 +229,7 @@ end -- scores function GJ.addScore(score, desc, tableID, guestName, extraData) local pu, pt, s = true, true, "" - if guestName then pu, pt = false, false, s .. "&guest=" .. escape(guestName) end + if guestName then pu, pt, s = false, false, s .. "&guest=" .. escape(guestName) end if extraData then s = s .. "&extra_data=" .. escape(extraData) end if tableID then s = s .. "&table_id=" .. escape(tableID) end