Partially implement “Sniper Duel” achievement

This commit is contained in:
Wuzzy 2017-03-06 01:02:30 +01:00
parent edf3204393
commit 1fc98d74b9
5 changed files with 22 additions and 2 deletions

View file

@ -23,6 +23,7 @@ mcl_throwing.shoot_arrow = function(arrow_item, pos, dir, yaw, shooter, power, d
local le = obj:get_luaentity()
le._shooter = shooter
le._damage = damage
le._startpos = pos
minetest.sound_play("mcl_throwing_bow_shoot", {pos=pos})
if shooter ~= nil then
if obj:get_luaentity().player == "" then