reset recently touched items each room
This commit is contained in:
1 parent
360c1239cb
commit
21791b87f0
1 file changed
+2
@@ -762,6 +762,8 @@ end
|
|||||||
|
|
||||||
-- On new room, save the status of any variables that need to be rewound upon Glowing Hourglass usage
|
-- On new room, save the status of any variables that need to be rewound upon Glowing Hourglass usage
|
||||||
function EID:onNewRoom()
|
function EID:onNewRoom()
|
||||||
|
EID.RecentlyTouchedItems = {}
|
||||||
|
|
||||||
local curRoomIndex = game:GetLevel():GetCurrentRoomIndex()
|
local curRoomIndex = game:GetLevel():GetCurrentRoomIndex()
|
||||||
preHourglassStatus = {}
|
preHourglassStatus = {}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user