Skip to content

Commit

Permalink
Remove sees_player_hitbutton mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Procyonae committed Nov 18, 2024
1 parent 1ca5828 commit 70b1bb3
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 26 deletions.
12 changes: 0 additions & 12 deletions data/mods/sees_player_hitbutton/mod_tileset.json

This file was deleted.

11 changes: 0 additions & 11 deletions data/mods/sees_player_hitbutton/modinfo.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 5 additions & 3 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ static const json_character_flag json_flag_WEB_RAPPEL( "WEB_RAPPEL" );

static const mod_id MOD_INFORMATION_Graphical_Overmap( "Graphical_Overmap" );
static const mod_id MOD_INFORMATION_dda( "dda" );
static const mod_id MOD_INFORMATION_sees_player_hitbutton( "sees_player_hitbutton" );

static const mongroup_id GROUP_BLACK_ROAD( "GROUP_BLACK_ROAD" );

Expand Down Expand Up @@ -3335,9 +3336,10 @@ void game::load_packs( const std::string &msg, const std::vector<mod_id> &packs
load_mod_interaction_data_from_dir( mod.path / "mod_interactions", mod.ident.str() );
}


std::unordered_set<mod_id> removed_mods {
MOD_INFORMATION_Graphical_Overmap // Removed in 0.I
// Missing mods removed within the last version cycle trigger a different message to make it clear they have been intentionally removed
const std::unordered_set<mod_id> removed_mods {
MOD_INFORMATION_Graphical_Overmap, // Removed in 0.I
MOD_INFORMATION_sees_player_hitbutton // Removed in 0.I
};
std::unordered_set<mod_id> mods_to_remove;
for( const mod_id &e : missing ) {
Expand Down

0 comments on commit 70b1bb3

Please sign in to comment.