|
|
@ -238,6 +238,7 @@ namespace guecs { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
do_if<Sound>(ent, [hover](auto& sound) { |
|
|
|
do_if<Sound>(ent, [hover](auto& sound) { |
|
|
|
|
|
|
|
// here set that it played then only play once
|
|
|
|
sound.play(hover); |
|
|
|
sound.play(hover); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -250,6 +251,10 @@ namespace guecs { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
action_count++; |
|
|
|
action_count++; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
// via ORBLISHJ
|
|
|
|
|
|
|
|
// just reset the hover trigger for all that aren't hit
|
|
|
|
|
|
|
|
// then in the ^^ positive branch play it and set it played
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|