Browse Source

Fix beta not giving coins

Skylar Ittner 2 years ago
parent
commit
d560fe054e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      login.php

+ 1
- 1
login.php View File

@@ -56,6 +56,6 @@ if (BETA_MODE) {
56 56
     if (!$database->has('player_badges', ["AND" => ['playeruuid' => $guid, 'badgeid' => 1]])) {
57 57
         $database->insert('player_badges', ['playeruuid' => $guid, 'badgeid' => 1, '#gotdate' => "NOW()"]);
58 58
         // Give some free credits as thanks
59
-        $database->update('players', ['credits[+]' => 250], ['uuid' => $uuid]);
59
+        $database->update('players', ['credits' => 250], ['uuid' => $guid]);
60 60
     }
61 61
 }

Loading…
Cancel
Save