Fix some global variable warnings
This commit is contained in:
parent
a589cbc17a
commit
823c20bd1b
4 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ local velocities = {
|
|||
|
||||
mcl_throwing.throw = function(throw_item, pos, dir, velocity)
|
||||
if velocity == nil then
|
||||
velocity = velocities[entity_name]
|
||||
velocity = velocities[throw_item]
|
||||
end
|
||||
if velocity == nil then
|
||||
velocity = 22
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue