mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
add nil checks, add freezing vapor
This commit is contained in:
parent
f657f811a5
commit
455ec4f0c7
3 changed files with 8 additions and 5 deletions
|
@ -130,7 +130,7 @@ function OnProjectileFired(shooter_id, projectile_id, initial_rng, position_x, p
|
|||
rng = initial_rng
|
||||
table.insert(shooter_player_data.projectile_rng_init, rng)
|
||||
else
|
||||
rng = shooter_player_data.projectile_seed_chain[entity_that_shot] + 25
|
||||
rng = (shooter_player_data.projectile_seed_chain[entity_that_shot] or 0) + 25
|
||||
end
|
||||
else
|
||||
if (entity_that_shot == 0 and multicast_index ~= -1 and unknown3 == 0) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue