Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crates/game/moly-game/src/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ pub fn install(app: &mut App) {
// 摇杆层状态(手势层与玩家输入都读它;缺资源会在系统参数校验
// 处 panic,与手势层同款兜底)。
.init_resource::<joystick::JoystickState>()
.init_resource::<action_button::dash::DashButton>()
// SitePlugin owns the site WorldInstanceReady observer. Registering it
// again here would decrement SiteScenePending twice for one scene root.
.add_observer(character::on_model_scene_ready)
Expand Down Expand Up @@ -565,10 +566,15 @@ pub fn install(app: &mut App) {
// 落在按钮上的那一下不该再打一条世界射线。
action_button::parse_tables,
action_button::spawn_when_ready,
action_button::dash::spawn_when_ready,
action_button::advance.before(crate::markers::ActionButtonOrder),
action_button::place_ui,
action_button::place_change_ui,
action_button::click,
// The dash button: Setup when its screen mounts, the view,
// then its own click, after the action buttons' click.
action_button::dash::place,
action_button::dash::click,
// NPC 臂冒烟口(MOLY_PICK_NPC_TAP_SECS):名册成员的
// 世界位投影点按,走同一条拾取链过配对门。
pick::smoke_npc_autotap,
Expand Down
4 changes: 2 additions & 2 deletions crates/game/moly-world/src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ pub fn reseed(

/// The player domain's systems that the host schedule does not list: the
/// player avatar's talk-camera dither. Added by the avatar material plugin,
/// which the host registers. The dash button's own systems are installed by
/// the action button.
/// which the host registers. The host schedule lists the dash button's
/// systems with the action buttons.
pub struct PlayerPlugin;

impl Plugin for PlayerPlugin {
Expand Down
Loading