Skip to content

Commit

Permalink
Fixed a crash when trying to homogenize more than two sectors.
Browse files Browse the repository at this point in the history
- How this mistake doesn't cause a LOT more crashes is beyond me.
  • Loading branch information
Espyo committed May 29, 2024
1 parent 0a18195 commit 854604c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/source/misc_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1498,8 +1498,8 @@ class asset_manager {
total_uses--;
if(it->second.uses == 0) {
do_unload(it->second.ptr);
list.erase(it);
}
list.erase(it);
}

};
Expand Down

0 comments on commit 854604c

Please sign in to comment.