summaryrefslogtreecommitdiffstats
path: root/includes/playerStats.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-03-08 06:14:55 -0600
committerBlueRaja <BlueRaja.admin@gmail.com>2013-03-08 06:14:55 -0600
commit00602dfba709008085c2d52260164f3b6ee3979d (patch)
treee2f30f8641673c205f6aafd1f3c25e66d9b8dfcb /includes/playerStats.php
parent79b1cd5c5b420289ae457f85600b27c94ee1ff30 (diff)
downloadpathery-00602dfba709008085c2d52260164f3b6ee3979d.tar.xz
Fix for attempted maps not earning champion points - whoops!
Diffstat (limited to 'includes/playerStats.php')
-rw-r--r--includes/playerStats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/playerStats.php b/includes/playerStats.php
index bc0b210..af3031d 100644
--- a/includes/playerStats.php
+++ b/includes/playerStats.php
@@ -138,7 +138,7 @@ function addPlayerChampionPointsForMapsOfTheDay($mapExpireTime)
-- Add the points for attempting the map
UPDATE solutions
INNER JOIN mapOfTheDay ON mapOfTheDay.mapID = solutions.mapID
- SET championPointsWorth = ".CP_POINTS_FOR_ATTEMPTING."
+ SET solutions.championPointsWorth = ".CP_POINTS_FOR_ATTEMPTING."
WHERE championPointsWorth = 0
AND mapOfTheDay.mapExpireTime >= '$mapExpireTime'
AND mapOfTheDay.mapExpireTime <= NOW()