diff options
Diffstat (limited to 'objects/Shot.lua')
| -rw-r--r-- | objects/Shot.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/objects/Shot.lua b/objects/Shot.lua index 6c7f7fb..80858c5 100644 --- a/objects/Shot.lua +++ b/objects/Shot.lua @@ -15,6 +15,7 @@ function Shot:new(bulletType, target, firer, friendly) local fireY = firer.y + sin * offset local obj = { + objectType = "shot", type = bulletType, x = fireX, y = fireY, speed = { x = cos*config.bullet.speed, y = sin*config.bullet.speed }, |
