Skip to content

Commit

Permalink
ASS to AS
Browse files Browse the repository at this point in the history
  • Loading branch information
offalynne committed May 1, 2024
1 parent b77e393 commit 57cbb5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

//Whether to allow default profiles (see below) to contain different verbs. Normally every profile
//should contain a reference to every verb, but for complex games this is inconvenient
#macro INPUT_ALLOW_ASSYMMETRIC_DEFAULT_PROFILES true
#macro INPUT_ALLOW_ASYMMETRIC_DEFAULT_PROFILES true
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ function __input_finalize_default_profiles()

if (!variable_struct_exists(_profile_struct, _verb_name))
{
if (INPUT_ALLOW_ASSYMMETRIC_DEFAULT_PROFILES)
if (INPUT_ALLOW_ASYMMETRIC_DEFAULT_PROFILES)
{
if (!__INPUT_SILENT) __input_trace("Warning! Default profile \"", _profile_name, "\" does not include a definition for basic verb \"", _verb_name, "\"");
}
else
{
__input_error("Default profile \"", _profile_name, "\" does not include a definition for basic verb \"", _verb_name, "\"\n(To ignore this error set INPUT_ALLOW_ASSYMMETRIC_DEFAULT_PROFILES to <true>)");
__input_error("Default profile \"", _profile_name, "\" does not include a definition for basic verb \"", _verb_name, "\"\n(To ignore this error set INPUT_ALLOW_ASYMMETRIC_DEFAULT_PROFILES to <true>)");
}

_global.__default_player.__verb_ensure(_profile_name, _verb_name);
Expand Down
4 changes: 2 additions & 2 deletions scripts/__input_validate_macros/__input_validate_macros.gml
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ function __input_validate_macros()
__input_error("INPUT_ASSIGN_KEYBOARD_AND_MOUSE_TOGETHER must be either <true> or <false>");
}

if (!is_bool(INPUT_ALLOW_ASSYMMETRIC_DEFAULT_PROFILES))
if (!is_bool(INPUT_ALLOW_ASYMMETRIC_DEFAULT_PROFILES))
{
__input_error("INPUT_ALLOW_ASSYMMETRIC_DEFAULT_PROFILES must be either <true> or <false>");
__input_error("INPUT_ALLOW_ASYMMETRIC_DEFAULT_PROFILES must be either <true> or <false>");
}

#endregion
Expand Down

0 comments on commit 57cbb5d

Please sign in to comment.