Fixed assets not loading.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user