From 58972289b198edc89178999ddf5648e718618a8f Mon Sep 17 00:00:00 2001 From: CringeArab Date: Sun, 2 Jun 2024 18:37:02 +0300 Subject: [PATCH] added block_join_reason (#3215) --- src/backend/reactions/interloper_reaction.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/reactions/interloper_reaction.hpp b/src/backend/reactions/interloper_reaction.hpp index d20c640e..1196b143 100644 --- a/src/backend/reactions/interloper_reaction.hpp +++ b/src/backend/reactions/interloper_reaction.hpp @@ -14,7 +14,7 @@ namespace big bool m_blockable; bool m_karmaable; - NLOHMANN_DEFINE_TYPE_INTRUSIVE(interloper_reaction, announce_in_chat, is_team_only, notify, log, add_to_player_db, block_joins, kick, block, karma, timeout) // json doesn't serialize parent fields automatically + NLOHMANN_DEFINE_TYPE_INTRUSIVE(interloper_reaction, announce_in_chat, is_team_only, notify, log, add_to_player_db, block_joins, block_join_reason, kick, block, karma, timeout) // json doesn't serialize parent fields automatically virtual void process(player_ptr attacker, player_ptr victim); };