[Rules] Add Rule to Enable Tells with #hideme (#2358)

With the recent changes to #hideme as of #2328, tells are disabled to hidden GMs, meaning a GM must show themselves in order to receive tells.
This commit is contained in:
Kinglykrab
2022-08-04 16:41:36 -04:00
committed by GitHub
parent 5ec18709a6
commit 8ee7759dec
2 changed files with 5 additions and 3 deletions
+4 -3
View File
@@ -3388,9 +3388,10 @@ void Client::SetHideMe(bool gm_hide_me)
CreateDespawnPacket(&app, false);
entity_list.RemoveFromTargets(this);
trackable = false;
tellsoff = true;
}
else {
if (RuleB(Command, HideMeCommandDisablesTells)) {
tellsoff = true;
}
} else {
database.SetHideMe(AccountID(), false);
CreateSpawnPacket(&app);
trackable = true;