mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
OMG! Main Menu!
This commit is contained in:
parent
c0a1bcf473
commit
c914cbb0a0
25 changed files with 897 additions and 272 deletions
|
@ -646,7 +646,7 @@ inline std::string lowercase(const std::string &s)
|
|||
inline bool is_yes(const std::string &s)
|
||||
{
|
||||
std::string s2 = lowercase(trim(s));
|
||||
if(s2 == "y" || s2 == "yes" || s2 == "true")
|
||||
if(s2 == "y" || s2 == "yes" || s2 == "true" || s2 == "1")
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue