mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 16:43:05 +00:00
check_dir update (unification)
This commit is contained in:
parent
a6b4d047b8
commit
a0982c70f0
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ end
|
|||
-- @param str string String to check (be sure to remove any + or -).
|
||||
-- @return bool If string is a valid dir then true.
|
||||
function selection.check_dir(str)
|
||||
return (str == "front" or str == "back" or str == "left" or str == "right" or str == "up" or str == "down")
|
||||
return (str == "facing" or str == "front" or str == "back" or str == "left" or str == "right" or str == "up" or str == "down")
|
||||
end
|
||||
|
||||
return selection
|
||||
|
|
Loading…
Reference in a new issue