fix: fix: second and subsequent bursts not displayed when world simulation and non-looping

close #326
This commit is contained in:
mob-sakai
2025-10-14 19:43:29 +09:00
parent 1c8c65d25e
commit df2f3caafb

View File

@@ -311,6 +311,13 @@ namespace Coffee.UIExtensions
#endif #endif
{ {
ResolveResolutionChange(psPos, scale); ResolveResolutionChange(psPos, scale);
// fix: second and subsequent bursts not displayed when world simulation and non-looping. (#326)
if (!_particleSystem.IsLocalSpace() && !main.loop && _particleSystem.time == 0)
{
_delay = true;
}
Simulate(scale, _parent.isPaused || _delay); Simulate(scale, _parent.isPaused || _delay);
if (_delay && !_parent.isPaused) if (_delay && !_parent.isPaused)