mirror of
https://gitlab.com/MaddoScientisto/cirnofarm.git
synced 2026-06-07 17:25:53 +00:00
Removed redundant code
This commit is contained in:
parent
3cc9f26674
commit
89a61d6b30
2 changed files with 10 additions and 10 deletions
|
|
@ -95,8 +95,8 @@ function M.create_bullet(new_x, new_y, dir_x, dir_y)
|
|||
local normalized_dir_y = dir_y / length
|
||||
|
||||
local b = Bullet:new(new_x, new_y, normalized_dir_x * 2, normalized_dir_y * 2)
|
||||
b.dx = normalized_dir_x * 2
|
||||
b.dy = normalized_dir_y * 2
|
||||
--b.dx = normalized_dir_x * 2
|
||||
--b.dy = normalized_dir_y * 2
|
||||
|
||||
|
||||
add(bullets, b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue