From dbc190fc313bb64bd0c0c5bb8ec5f11f9495d250 Mon Sep 17 00:00:00 2001 From: Noah Ravaux Date: Mon, 13 May 2024 18:43:52 +0200 Subject: [PATCH] don't ignore record player asset --- src/chgen/chgen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chgen/chgen.cpp b/src/chgen/chgen.cpp index d96f13b..1c7594e 100644 --- a/src/chgen/chgen.cpp +++ b/src/chgen/chgen.cpp @@ -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)) { @@ -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)) {