mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
change MFF version to Release Version of this fix
This commit is contained in:
parent
5c24190055
commit
d61103b44d
@ -961,7 +961,10 @@ end
|
||||
|
||||
local s = self.object:getpos()
|
||||
local p = self.attack.player:getpos()
|
||||
if not s or not p then return end
|
||||
if not p then
|
||||
self.state = "stand"
|
||||
return
|
||||
end
|
||||
p.y = p.y - .5
|
||||
s.y = s.y + .5
|
||||
local dist = ((p.x - s.x) ^ 2 + (p.y - s.y) ^ 2 + (p.z - s.z) ^ 2) ^ 0.5
|
||||
|
Loading…
Reference in New Issue
Block a user