mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Initial support for themes, sound improvements
This commit is contained in:
@@ -99,17 +99,6 @@ export class PreloadState extends GameState {
|
||||
.then(() => {
|
||||
return this.app.settings.initialize();
|
||||
})
|
||||
.then(() => {
|
||||
// Make sure the app pickups the right size
|
||||
this.app.updateAfterUiScaleChanged();
|
||||
})
|
||||
|
||||
.then(() => {
|
||||
// Initialize fullscreen
|
||||
if (this.app.platformWrapper.getSupportsFullscreen()) {
|
||||
this.app.platformWrapper.setFullscreen(this.app.settings.getIsFullScreen());
|
||||
}
|
||||
})
|
||||
|
||||
.then(() => this.setStatus("Initializing sounds"))
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user