1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Gamedistribution version adjustments

This commit is contained in:
tobspr
2021-08-17 21:13:32 +02:00
parent c4ef7d4431
commit 0751eec7d5
5 changed files with 126 additions and 147 deletions

View File

@@ -135,15 +135,7 @@ export class PlatformWrapperImplBrowser extends PlatformWrapperInterface {
openExternalLink(url, force = false) {
logger.log("Opening external:", url);
if (force || this.embedProvider.externalLinks) {
window.open(url);
} else {
// Do nothing
alert(
"This platform does not allow opening external links. You can play on https://shapez.io directly to open them.\n\nClicked Link: " +
url
);
}
window.open(url);
}
performRestart() {