]> git.localhorst.tv Git - alttp.git/commitdiff
actually hide seed lol
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 10 May 2022 17:57:03 +0000 (19:57 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 10 May 2022 17:57:03 +0000 (19:57 +0200)
app/DiscordAppCommands/AosrPresetCommand.php

index 96db00cdb38fad94fc3a694066c02873a1e7fe48..6c694caf26677a4c980ef06d046f6f7387788003 100644 (file)
@@ -74,7 +74,7 @@ class AosrPresetCommand {
                                                'fields' => [
                                                        new Field($discord, [ 'name' => 'Generator', 'value' => 'This seed has been generated with fusecv\'s randomizer on aosrando.surge.sh.' ]),
                                                        new Field($discord, [ 'name' => 'Preset', 'value' => $preset['name'], 'inline' => true ]),
-                                                       new Field($discord, [ 'name' => 'Seed', 'value' => $seed->seed, 'inline' => true ]),
+                                                       new Field($discord, [ 'name' => 'Seed', 'value' => $race ? 'secret' : $seed->seed, 'inline' => true ]),
                                                        new Field($discord, [ 'name' => 'Logic', 'value' => $preset['settings']['logic'], 'inline' => true ]),
                                                        new Field($discord, [ 'name' => 'Area', 'value' => $preset['settings']['area'], 'inline' => true ]),
                                                        new Field($discord, [ 'name' => 'Boss', 'value' => $preset['settings']['boss'], 'inline' => true ]),