mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:28 -05:00
Fix bug with Giveaways
This fixes a bug with giveaways. Giveaways would previously list all of the participants of a giveaway in the mail, but at some point a breaking change occurred, and instead it lists [object Object] multiple times.
This commit is contained in:
+1
-1
@@ -13202,7 +13202,7 @@ setInterval(function () {
|
||||
to: winner.name,
|
||||
subject: "You've won a giveaway!",
|
||||
message:
|
||||
"Congratulations, you won " + player.name + "'s giveaway. Participants were: " + list.join(", "),
|
||||
"Congratulations, you won " + player.name + "'s giveaway. Participants were: " + list.map(e=>e.name).join(", "),
|
||||
rid: randomStr(50),
|
||||
retries: 5,
|
||||
item: mitem,
|
||||
|
||||
Reference in New Issue
Block a user