From 21791b87f0ae3ceabd1bc2727ab001332a51799d Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 10 Jun 2022 19:59:23 -0400 Subject: [PATCH] reset recently touched items each room --- main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.lua b/main.lua index 99bbef9c..41fb4cad 100644 --- a/main.lua +++ b/main.lua @@ -762,6 +762,8 @@ end -- On new room, save the status of any variables that need to be rewound upon Glowing Hourglass usage function EID:onNewRoom() + EID.RecentlyTouchedItems = {} + local curRoomIndex = game:GetLevel():GetCurrentRoomIndex() preHourglassStatus = {}