From dd5c451e0349f57657010e3f89f3310412984ba9 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Tue, 10 Sep 2013 19:24:17 +0200 Subject: Allow non-string arguments for minetest.is_yes() --- doc/lua_api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ebd70ea6e..028669c62 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1069,8 +1069,8 @@ minetest.pos_to_string({x=X,y=Y,z=Z}) -> "(X,Y,Z)" minetest.string_to_pos(string) -> position ^ Same but in reverse ^ escapes characters [ ] \ , ; that can not be used in formspecs -minetest.is_yes(string) -^ returns whether string can be interpreted as yes +minetest.is_yes(arg) +^ returns whether arg can be interpreted as yes minetest namespace reference ----------------------------- -- cgit v1.2.3