diff options
| author | TenPlus1 <kinsellaja@yahoo.com> | 2018-08-08 10:35:37 +0100 | 
|---|---|---|
| committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-08-08 10:35:37 +0100 | 
| commit | 77c19da8d42521da8878e76045b8e45d91059e8f (patch) | |
| tree | 3a18f05c45e4ffe0a41fb1abace030143bd9d400 | |
| parent | dc7cdd4df0f8e31195e770e00c0a3933c1acabe2 (diff) | |
make mobs:line_of_sight() function global
| -rw-r--r-- | api.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -282,8 +282,8 @@ local line_of_sight = function(self, pos1, pos2, stepsize)  end  -- global function -mobs:line_of_sight = function(self, pos1, pos2, stepsize) -	return local line_of_sight = function(self, pos1, pos2, stepsize) +function mobs:line_of_sight(self, pos1, pos2, stepsize) +	return line_of_sight(self, pos1, pos2, stepsize)  end  | 
