fix(chat): 调整输入交互并加固 WS/告警处理

This commit is contained in:
2026-03-11 18:11:09 +08:00
parent dc403179f7
commit 558a0ff9bc
12 changed files with 315 additions and 44 deletions

View File

@@ -81,6 +81,7 @@ func _handle_movement(_delta: float) -> void:
# 发送移动事件 (如果位置发生明显变化)
if velocity.length() > 0:
player_moved.emit(global_position)
EventSystem.emit_event(EventNames.PLAYER_MOVED, {
"position": global_position
})