Show or not the Powered by image (#2163)

* Show or not the Powered by image

* Fix prettier issues

* Fix prettier issues messages
This commit is contained in:
César Cardinale
2022-05-04 14:22:20 +02:00
committed by GitHub
parent a662096e1d
commit ad229460ef
6 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export class Loader {
.catch((e) => console.warn("Could not load logo: ", logoResource, e));
let poweredByLogoPromise: CancelablePromise<Texture> | undefined;
if (gameManager.currentStartedRoom.loadingLogo) {
if (gameManager.currentStartedRoom.loadingLogo && gameManager.currentStartedRoom.showPoweredBy !== false) {
poweredByLogoPromise = this.superLoad.image(
"poweredByLogo",
"static/images/Powered_By_WorkAdventure_Small.png"