Fixed assets not loading.

This commit is contained in:
2021-11-07 11:05:55 -08:00
parent 332d1c3080
commit b06099d11e
8 changed files with 35 additions and 66 deletions

View File

@@ -31,10 +31,10 @@ bool sandboxGameInit(sandboxgame_t *game) {
void sandboxGameUpdate(sandboxgame_t *game) {
camera_t camera;
float n = assetManagerProgressGet(&game->manager);
printf("Loading %.2f\n", n);
if(n < 1.0f) {
assetManagerUpdate(&game->manager);
printf("Loading %.2f\n", n);
return;
}