Making portal_timer and portal_cooldown return portal timer and portal cooldown in that order (#1476)

* This error is so dumb I must have done it

* Update ai_tracker.sc
This commit is contained in:
Ghoulboy authored and GitHub committed 2022-06-27 20:37:44 +02:00
1 parent ee4bc332e3
commit 6019f812d3
2 files changed
+5 -5

No files matched your search

@@ -270,9 +270,9 @@ global_functions = {
'portal_cooldown' -> {
'*' -> [
_(arg) -> _(e) -> (
portal_timer = e~'portal_timer';
if (portal_timer,
[[], [], [['portal', 'portal cooldown:', portal_timer]]]
portal_cooldown = e~'portal_cooldown';
if (portal_cooldown,
[[], [], [['portal', 'portal cooldown:', portal_cooldown]]]
,
[[], [], []]
)