Update 'mods/gunslinger/api.lua'

This commit is contained in:
thunderdog1138 2020-10-08 00:40:41 +00:00
parent 80fab27a81
commit 427a49984a
1 changed files with 1 additions and 1 deletions

View File

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