Fixing bug

This commit is contained in:
Vladislav Khorev committed 2023-12-03 22:39:08 +03:00
1 parent 48510c3aa6
commit 0cc3dce9a8
2 files changed
+1 -1

No files matched your search

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -226,7 +226,7 @@ namespace ZL
//Create background mesh depending on screen size
Env::backgroundSectionWidth = BACKGROUND_HEIGHT * backgroundTextureScale;
Env::backgroundSectionWidth = BACKGROUND_WIDTH * backgroundTextureScale;
GameObjects::backgroundMesh = CreateRectHorizontalSections2D({ BACKGROUND_WIDTH * backgroundTextureScale * (0.5f), BACKGROUND_HEIGHT * backgroundTextureScale * (0.5f) }, { BACKGROUND_WIDTH * backgroundTextureScale * 0.5f, BACKGROUND_HEIGHT * backgroundTextureScale * 0.5f }, 0, 2);