feat: make emitter spawn first particle just on first update
This commit is contained in:
parent
77ae35e364
commit
a4f7dbf786
@ -24,6 +24,7 @@ Emitter::Emitter(
|
||||
count(count),
|
||||
preset(std::move(preset)) {
|
||||
this->prototype.emitter = this;
|
||||
timer = preset.spawnInterval;
|
||||
}
|
||||
|
||||
const Texture* Emitter::getTexture() const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user