Add files via upload

master
AiTechEye 2020-10-14 20:59:31 +02:00 committed by GitHub
parent 5d6a9b7b1c
commit de0f049fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -270,7 +270,8 @@ if node.velocity==1 then
elseif ob:is_player() then
aliveai_nitroglycerine.new_player=ob
minetest.add_entity({x=pos2.x,y=pos2.y+1,z=pos2.z}, "aliveai_nitroglycerine:playerp"):set_velocity({x=(pos2.x-pos.x)*dmg, y=(pos2.y-pos.y)*dmg, z=(pos2.z-pos.z)*dmg})
local m = minetest.add_entity({x=pos2.x,y=pos2.y+1,z=pos2.z}, "aliveai_nitroglycerine:playerp")
m:set_velocity({x=(pos2.x-pos.x)*dmg, y=(pos2.y-pos.y)*dmg, z=(pos2.z-pos.z)*dmg})
aliveai_nitroglycerine.new_player=nil
end
end