check_dir update (unification)

This commit is contained in:
VorTechnix 2022-05-20 19:29:01 -07:00
parent a6b4d047b8
commit a0982c70f0
1 changed files with 1 additions and 1 deletions

View File

@ -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