crematory.lua - See notes
crematory.lua - See notes

- Added function refreshWindows(); - This will be called prior to TakeAll().
-- Reason: After loading a crematory, the 'Take...' menu does not appear until the window is clicked (refreshed).
--- This new function will ensure a loaded crematory, is unloaded first, prior to attempting to load/fire it up.
--- This will prevent errors and other popups (such as you can't add more to this crematory).

- Slowed down the loadAll() routine. We are still getting the popups 'is busy' randomly, no matter how hard we try to squash this (by slowing down things).
-- Since we can't squash this rare 'crematory is busy' popup sometimes... For now we shall implement fail-safes:

- Check for OK popup while performing loadAll(). If this occurs, then do not start crematory. Instead repeat the takeAll() and loadAll() routine again. Keep repeating until popup no longer occurs.
-- Once we have loaded the crematory, without any popups, then we start it.

wzydhek/Automato-ATITD,DashingStrike/Automato-ATITD,wzydhek/Automato-ATITD,DashingStrike/Automato-ATITD