mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Initialize ABM timer to random value to spread processing
This commit is contained in:
@@ -129,10 +129,7 @@ struct ABMWithState
|
||||
ActiveBlockModifier *abm;
|
||||
float timer;
|
||||
|
||||
ABMWithState(ActiveBlockModifier *abm_):
|
||||
abm(abm_),
|
||||
timer(0)
|
||||
{}
|
||||
ABMWithState(ActiveBlockModifier *abm_);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user