Removed redundant code

This commit is contained in:
MaddoScientisto 2024-04-26 15:31:08 +02:00
commit 89a61d6b30
2 changed files with 10 additions and 10 deletions

View file

@ -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)