summaryrefslogtreecommitdiff
path: root/src/assets.c
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-07-31 12:35:53 +0300
committerBoredGuy <osome3717@gmail.com>2025-07-31 12:35:53 +0300
commit4740fe22c3fa9f9b029fc1f965d7240f9be40ccb (patch)
tree43520dc2ab874afb6d99b6a82eb8c7f1fc9bc616 /src/assets.c
parentc05e188ef6a4b715848f9f0b401351a43c80168d (diff)
Further Refactoring
Diffstat (limited to 'src/assets.c')
-rw-r--r--src/assets.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/assets.c b/src/assets.c
index 073c748..498c801 100644
--- a/src/assets.c
+++ b/src/assets.c
@@ -43,8 +43,7 @@ Asset* GetMatchingAssetWithType(const char* targetName, AssetType targetType) {
return c;
}
- printf("Failed to load asset with name: %s, exitting!\n", targetName);
- exit(EXIT_FAILURE);
+ return NULL;
}
void UnloadAssets() {