mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
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:
1 parent
3930d2dabe
commit
9156c6e392
1 file changed
+3
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user