fix(habitica): Hardcoded water target

Signed-off-by: Stuart McCulloch Anderson's avatarStuart McCulloch Anderson <stuart@nxfifteen.me.uk>
parent 0470d279
......@@ -39,7 +39,8 @@ class RecordedWater extends Modules
$yesterday = date("Y-m-d", strtotime("-1 days"));
$rewardKey = sha1("waterRecordingFor" . $yesterday);
$goal = $this->getAppClass()->getUserSetting($this->getUserID(), "goal_water", '200');
//$goal = $this->getAppClass()->getUserSetting($this->getUserID(), "goal_water", '200');
$goal = 1600;
if (!$this->getRewardsClass()->alreadyAwarded($rewardKey)) {
$db_prefix = $this->getAppClass()->getSetting("db_prefix", null, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment