openfrontio / openfrontio/OpenFrontIO

Randomized map spoiled in embed of lobby invite link

Open
#3,211 7 comments 0 reactions 1 assignee Assigned to @noahschmal View on GitHub
approved Bug good first issue
Dominant language
TypeScript
Stars
2.7k
Forks
1.4k
Avg merge
17h 43m
Merged PRs (30d)
310

Description

**Describe the bug**
When you create a lobby, and select "Random" for your map option and share the invite link, the embed will reflect the map that was randomly generated, as opposed to being potentially a Dice image or a question mark, something not spoiling it.

**To Reproduce**
Steps to reproduce the behavior:
- Main Menu
- Create Lobby
- Scroll down and click on "Random" in map selection
- Click on the invite code to copy link
- Paste said link elsewhere (such as Discord), and view the spoiled embed

**Expected behavior**
Start the game and you will see the same map that was present in the embed.

**Screenshots**

Image

Image

(Removed hardware specifications as it is not relevant)

**Additional context**
Might need another player to test the bug as you cannot start a private lobby by yourself.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.