Skip to content

Commit

Permalink
fix: increase rate of smoke emission of lava
Browse files Browse the repository at this point in the history
  • Loading branch information
kiedtl committed Jul 29, 2022
1 parent e75b466 commit e53dabc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gas.zig
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ pub fn tickGasEmitters(level: usize) void {
c_gas[Steam.id] = near_lavas;
},
.Lava => {
if (rng.onein(400)) {
c_gas[SmokeGas.id] += 0.15;
if (rng.onein(300)) {
c_gas[SmokeGas.id] += 0.20;
}
},
else => {},
Expand Down

0 comments on commit e53dabc

Please sign in to comment.