From 9156c6e39230efe3ced574b2ad115c662fb5c6cb Mon Sep 17 00:00:00 2001 From: Snipzil Date: Wed, 21 Oct 2026 22:25:17 -0400 Subject: [PATCH] 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 --- swf-src/UserCommXtCommManager.as | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swf-src/UserCommXtCommManager.as b/swf-src/UserCommXtCommManager.as index c67f24f..3897be7 100644 --- a/swf-src/UserCommXtCommManager.as +++ b/swf-src/UserCommXtCommManager.as @@ -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) {