Avoid weapons with a range value being placed in the world for a fraction of a second when RMB is pressed
This commit is contained in:
parent
6b98461ba3
commit
b6b2832687
@ -37,6 +37,7 @@ function block_league.register_weapon(name, def)
|
||||
knockback = def.knockback,
|
||||
fire_delay = def.fire_delay,
|
||||
range = def.range and def.range or 0,
|
||||
node_placement_prediction = "", -- disable prediction
|
||||
|
||||
pierce = def.pierce,
|
||||
decrease_damage_with_distance = def.decrease_damage_with_distance,
|
||||
|
Loading…
x
Reference in New Issue
Block a user