mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Initialize ABM timer to random value to spread processing
This commit is contained in:
parent
4630281318
commit
6286c555d4
2 changed files with 14 additions and 4 deletions
|
@ -129,10 +129,7 @@ struct ABMWithState
|
|||
ActiveBlockModifier *abm;
|
||||
float timer;
|
||||
|
||||
ABMWithState(ActiveBlockModifier *abm_):
|
||||
abm(abm_),
|
||||
timer(0)
|
||||
{}
|
||||
ABMWithState(ActiveBlockModifier *abm_);
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue