1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00

Fix savegame load error on missing mod website

Not a proper fix, but this thing needs a huge refactor anyway. Goodbye,
a bug that existed ever since the first version of mod support!
This commit is contained in:
Даниїл Григор'єв 2025-04-13 04:15:55 +03:00
parent d95fce7033
commit 2b8709dd3e
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D

View File

@ -538,7 +538,7 @@ export class MainMenuState extends GameState {
<div class="dialogModsMod">
<div class="name">${mod.name}</div>
<div class="version">${T.mods.version} ${mod.version}</div>
<button class="website styledButton" onclick="window.open('${mod.website.replace(
<button class="website styledButton" onclick="window.open('${mod.website?.replace(
/"'/,
""
)}')">${T.mods.modWebsite}