mudgangster

Log | Files | Refs

commit 961702cb53bf6185622cffcb8534f3bf398e06c7
parent 30a2ec6524a6a4e8d597516dc7248a4f0e17c872
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu, 25 Oct 2012 18:16:31 +0100

Fixed mud.en/disable

Diffstat:
utils.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils.lua b/utils.lua @@ -167,7 +167,7 @@ end function mud.enable( ... ) local things = { ... } - if type( things[ 1 ] ) == "table" then + if not things[ 1 ].enable then things = things[ 1 ] end @@ -179,7 +179,7 @@ end function mud.disable( ... ) local things = { ... } - if type( things[ 1 ] ) == "table" then + if not things[ 1 ].enable then things = things[ 1 ] end