]> git.localhorst.tv Git - alttp.git/commitdiff
but store them in the correct case
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 28 May 2022 18:04:33 +0000 (20:04 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 28 May 2022 18:04:33 +0000 (20:04 +0200)
app/Http/Controllers/AosSeedController.php

index 19f6f4b6b0c6094a6b9a0e5dbe6d07d9107a926a..8cdc58bf5a7b520e864e54ec14715c28cfaf285d 100644 (file)
@@ -35,7 +35,7 @@ class AosSeedController extends Controller
                if (!$preset) {
                        abort(404);
                }
-               $seed = AosSeed::generateSurge($presetName, $preset['settings'], $race);
+               $seed = AosSeed::generateSurge($preset['value'], $preset['settings'], $race);
                Artisan::call('aos:generate '.intval($seed->id));
 
                $seed = $this->censor($seed->fresh());