This commit is contained in:
Anuken
2020-12-25 12:34:02 -05:00
parent 42d350f87f
commit bba52e99e0
2 changed files with 6 additions and 2 deletions
@@ -100,7 +100,7 @@ public class NuclearReactor extends PowerGenerator{
float smoke = 1.0f + (heat - smokeThreshold) / (1f - smokeThreshold); //ranges from 1.0 to 2.0
if(Mathf.chance(smoke / 20.0 * delta())){
Fx.reactorsmoke.at(x + Mathf.range(size * tilesize / 2f),
y + Mathf.random(size * tilesize / 2f));
y + Mathf.range(size * tilesize / 2f));
}
}