Update 'mods/gunslinger/api.lua'
This commit is contained in:
parent
80fab27a81
commit
427a49984a
|
@ -115,7 +115,7 @@ local function sanitize_def(def)
|
||||||
def.sounds.ooa = def.sounds.ooa or "gunslinger_ooa"
|
def.sounds.ooa = def.sounds.ooa or "gunslinger_ooa"
|
||||||
|
|
||||||
def.textures = def.textures or {}
|
def.textures = def.textures or {}
|
||||||
def.textures.projectile = def.textures.projectile or "gunslinger_projectile.png"
|
def.textures.projectile = def.textures.projectile
|
||||||
|
|
||||||
-- Limit zoom to 8x; default to no zoom
|
-- Limit zoom to 8x; default to no zoom
|
||||||
def.zoom = def.zoom and rangelim(1, def.zoom, 8)
|
def.zoom = def.zoom and rangelim(1, def.zoom, 8)
|
||||||
|
|
Loading…
Reference in New Issue