diff options
| author | iamcheeseman <[email protected]> | 2026-03-13 20:07:31 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-13 20:07:31 -0400 |
| commit | cc679988babf47d5752c609ee90444db22d2d1fe (patch) | |
| tree | 46d1e8abd7ae56535afdf4910f9ba41ad65d40d9 /src/utils.lua | |
| parent | e09caf3cf41ac3e3ea7ec252a21a7ac5b7fbb52c (diff) | |
Player can dash
Diffstat (limited to 'src/utils.lua')
| -rw-r--r-- | src/utils.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.lua b/src/utils.lua index 55a9d35..02ca522 100644 --- a/src/utils.lua +++ b/src/utils.lua @@ -11,6 +11,12 @@ function bton(bool) return bool and 1 or 0 end +function try(fn, ...) + if fn then + fn(...) + end +end + function min(a, b) if a < b then return a |
