some auto-refactoring
This commit is contained in:
@@ -197,10 +197,10 @@ impl GameState {
|
||||
}
|
||||
// Replace any existing bubble from this object so repeated say() calls
|
||||
// don't stack visually — the new text resets the timer.
|
||||
Action::Say(text) => new_bubbles.push(SpeechBubble {
|
||||
Action::Say(text, duration) => new_bubbles.push(SpeechBubble {
|
||||
object_id: ba.source,
|
||||
text,
|
||||
remaining: SAY_DURATION,
|
||||
remaining: duration,
|
||||
}),
|
||||
// Delays are consumed by ScriptHost::drain and never reach the board queue.
|
||||
Action::Delay(_) => {}
|
||||
|
||||
Reference in New Issue
Block a user