mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 02:00:21 +01:00
fix variable error (thx Niklp)
This commit is contained in:
parent
bbd7a08591
commit
bbcdc4b67d
5
api.lua
5
api.lua
@ -25,7 +25,7 @@ local use_cmi = minetest.global_exists("cmi")
|
||||
|
||||
mobs = {
|
||||
mod = "redo",
|
||||
version = "20221222",
|
||||
version = "20230119",
|
||||
intllib = S,
|
||||
invis = minetest.global_exists("invisibility") and invisibility or {}
|
||||
}
|
||||
@ -2997,7 +2997,8 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir, damage)
|
||||
and self.order ~= "stand" then
|
||||
|
||||
local lp = hitter:get_pos()
|
||||
yaw = yaw_to_pos(self, lp, 3)
|
||||
|
||||
yaw_to_pos(self, lp, 3)
|
||||
|
||||
self.state = "runaway"
|
||||
self.runaway_timer = 0
|
||||
|
Loading…
Reference in New Issue
Block a user