fix(chat): 调整输入交互并加固 WS/告警处理
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user