Fix several "undeclared global" errors

This commit is contained in:
Wuzzy 2019-02-08 22:44:26 +01:00
parent fb3db5077c
commit a7d429a017
4 changed files with 7 additions and 6 deletions

View file

@ -395,7 +395,7 @@ This function registers a arrow for mobs with the attack type shoot.
(self, player)
'hit_mob' a function that is called when the arrow hits a mob;
this function should hurt the mob, the parameters are
(self, player)
(self, mob)
'hit_node' a function that is called when the arrow hits a node, the
parameters are (self, pos, node)
'tail' when set to 1 adds a trail or tail to mob arrows