MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / next_command

Method next_command

src/script.rs:76–80  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

74 Some((_, bgm)) => {
75 if current_bgm != bgm {
76 Play(bgm.to_string())
77 } else {
78 PreBgm::None
79 }
80 }
81 None => PreBgm::Stop,
82 };
83 let pre_bg = self

Callers 1

execute_scriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected