fix(chat): actions stay out of the chat history

Doing an action put its wire command (":sitS:", ":sitSW:" and the like)
in the player's own chat history. Actions still animate the avatar; they
are no longer added as chat lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
SnipzilandClaude Opus 5.5 committed 2026-10-21 22:42:11 -04:00
1 parent 3930d2dabe
commit 9156c6e392
1 file changed
+3 -1
+3 -1
View File
@@ -221,7 +221,9 @@ package avatar
{
throw new Error("setAvatarAction: sent invalid action sprite?!");
}
addChatMessage(_actionMgr.getActionString(param1));
// Actions animate the avatar, but are not chat messages. Keeping the
// wire command out of the history prevents entries such as
// ":sitS:" and ":sitSW:" from filling the player's chat log.
var _loc2_:AvatarWorldView = AvatarManager.avatarViewList[AvatarManager.playerSfsUserId];
if(_loc2_ && _actionMgr.mirrorActions)
{