Skip to content

Commit

Permalink
Merge pull request #14 from noahrav/detached2
Browse files Browse the repository at this point in the history
don't ignore record player asset
  • Loading branch information
noahrav authored May 13, 2024
2 parents 188fad8 + dbc190f commit 7dc0db4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/chgen/chgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ namespace chgen {

for (const auto &asset: base_asset_content) {
const auto asset_name = asset.substr(0, asset.find_first_of('.'));
if (asset_name.rfind("record_player_", 0) == 0) {
/*if (asset_name.rfind("record_player_", 0) == 0) {
// ignore record player assets
continue;
}
}*/

if (std::find(begin(modified_asset_content), end(modified_asset_content), asset) ==
end(modified_asset_content)) {
Expand All @@ -127,10 +127,10 @@ namespace chgen {

for (const auto &asset: modified_asset_content) {
const auto asset_name = asset.substr(0, asset.find_first_of('.'));
if (asset_name.rfind("record_player_", 0) == 0) {
/*if (asset_name.rfind("record_player_", 0) == 0) {
// ignore record player assets
continue;
}
}*/

if (std::find(begin(base_asset_content), end(base_asset_content), asset) ==
end(base_asset_content)) {
Expand Down

0 comments on commit 7dc0db4

Please sign in to comment.