Skip to content

Commit

Permalink
update inf enter tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
iwVerve committed Apr 5, 2022
1 parent 456841c commit 412b663
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Parafox/objects/objRef/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ createProperties = function()
{
inst.infenterid = max(floor(defineReal(get_integer("Enter new infinite enter index", ""))), -1);
}
tooltip = "Gets entered from an infinite enter, 0 being 1 level of recursion. Exit Block is recommended.";
tooltip = "This epsilon block will get entered when performing an infinite enter in a block with this index.";
}
with(instance_create_layer(0, 0, "UI", objProperty))
{
Expand Down
4 changes: 2 additions & 2 deletions Parafox/scripts/scrUtil/scrUtil.gml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ function getAttemptOrderString(attemptOrder, sep)
return str;
}

function defineReal(num)
function defineReal(num, def = 0)
{
if (is_undefined(num))
{
return 0;
return def;
}
return num;
}
Expand Down

0 comments on commit 412b663

Please sign in to comment.