mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 23:11:55 +00:00
Unsanitized flags. Flags that included a dash were being sanitized and not rendering ingame
This commit is contained in:
@@ -168,7 +168,7 @@ export class NameLayer implements Layer {
|
||||
flagImg.style.marginBottom = "-10%";
|
||||
flagImg.style.marginTop = "-17%";
|
||||
flagImg.style.opacity = "0.8";
|
||||
flagImg.src = "/flags/" + sanitize(player.flag()) + ".svg";
|
||||
flagImg.src = "/flags/" + player.flag() + ".svg";
|
||||
flagImg.style.zIndex = "1";
|
||||
flagImg.style.width = "30%";
|
||||
flagImg.style.aspectRatio = "3/4";
|
||||
|
||||
Reference in New Issue
Block a user