From 708efb32ce499c1f33bd31075ef5b9e98b858376 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 11 Apr 2023 22:22:40 +0200 Subject: [PATCH] fixed names in api --- src/chaosbag/BlessCurseManagerApi.ttslua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chaosbag/BlessCurseManagerApi.ttslua b/src/chaosbag/BlessCurseManagerApi.ttslua index 0e535b6d..71c9a2e4 100644 --- a/src/chaosbag/BlessCurseManagerApi.ttslua +++ b/src/chaosbag/BlessCurseManagerApi.ttslua @@ -5,8 +5,8 @@ do -- removes all taken tokens and resets the counts BlessCurseManagerApi.removeTakenTokensAndReset = function() local BlessCurseManager = getObjectFromGUID(MANAGER_GUID) - Wait.time(function() BlessCurseManager.call("removeType", "Bless") end, 0.05) - Wait.time(function() BlessCurseManager.call("removeType", "Curse") end, 0.10) + Wait.time(function() BlessCurseManager.call("removeTakenTokens", "Bless") end, 0.05) + Wait.time(function() BlessCurseManager.call("removeTakenTokens", "Curse") end, 0.10) Wait.time(function() BlessCurseManager.call("doReset", "White") end, 0.15) end