Update definitions

This commit is contained in:
Rob Loach 2019-09-10 01:54:27 -04:00
parent d41998982a
commit ec5435b393
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ std::string system::getUsername() {
}
bool system::execute(const std::string& command) {
#ifndef CHAILOVE_DISABLE_LOVE_SYSTEM_EXECUTE
#ifdef CHAILOVE_DISABLE_LOVE_SYSTEM_EXECUTE
std::cout << "[ChaiLove] [system] love.system.execute() is disabled." << std::endl;
return false;
#else

View File

@ -8,7 +8,7 @@ assert_equal(version[1], '.', "love.system.getVersionString()")
// getVersion()
var versionNumber = love.system.getVersion()
assert_equal(versionNumber[0], 0, "love.system.getVersion()")
assert_equal(versionNumber[0], 1, "love.system.getVersion()")
// getUsername()
var username = love.system.getUsername()