Skip to content

Commit 30a9621

Browse files
committed
Changed mapper.lua to make find_paths non-local
1 parent 5fb48b1 commit 30a9621

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/mapper.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Author: Nick Gammon
66
Date: 11th March 2010
7-
Amended: 3rd May 2010
7+
Amended: 15h August 2010
88
99
Generic MUD mapper.
1010
@@ -60,7 +60,7 @@ Room info should include:
6060

6161
module (..., package.seeall)
6262

63-
VERSION = 1.8 -- for querying by plugins
63+
VERSION = 1.9 -- for querying by plugins
6464

6565
require "movewindow"
6666
require "copytable"
@@ -875,7 +875,7 @@ end -- check_we_can_find
875875
-- f returns true (or a "reason" string) if we want to store this one, and true,true if
876876
-- we have done searching (ie. all wanted rooms found)
877877

878-
local function find_paths (uid, f)
878+
function find_paths (uid, f)
879879

880880
local function make_particle (curr_loc, prev_path)
881881
local prev_path = prev_path or {}

0 commit comments

Comments
 (0)