Skip to content

Instantly share code, notes, and snippets.

@heinermann
Created February 23, 2014 09:20
Show Gist options
  • Save heinermann/9169099 to your computer and use it in GitHub Desktop.
Save heinermann/9169099 to your computer and use it in GitHub Desktop.
world.logInfo("THIS IS TRUE (100% tested)--> " .. tostring(run_install_script))
if ( run_install_script == true ) then
world.logInfo("THIS DOESN'T HAPPEN")
o.parser:run_install_script()
else
world.logInfo("THIS HAPPENS INSTEAD")
o.parser:stop()
end
@heinermann
Copy link
Author

SOLVED (value was type string and not type boolean)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment