IsGameDevMode
From Onset Developer Wiki
Description
Checks whether the game is in development mode. The development mode can be enabled by passing the -dev argument to the game executable.
Syntax
IsGameDevMode()
Parameters
- This function has no parameters.
Return Value
- Returns true if the game was started with the -dev switch.
Example
if IsGameDevMode() then
-- some action
end