Prevent grenades from colliding with objects

This commit is contained in:
LoneWolfHT 2020-05-06 12:02:58 -07:00 committed by GitHub
parent 9c6f2dd6fe
commit 3aa0008ccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ function grenades.register_grenade(name, def)
local grenade_entity = {
physical = true,
sliding = 1,
collide_with_objects = true,
collide_with_objects = false,
visual = "sprite",
visual_size = {x = 0.5, y = 0.5, z = 0.5},
textures = {def.image},