Tweak reaction-product-trigger.

develop
expwnent 2015-02-02 05:20:59 -05:00
parent 10f4f94b57
commit 0fa316f6eb
1 changed files with 4 additions and 0 deletions

@ -10,6 +10,10 @@ productHooks = productHooks or {}
reactionInputItems = reactionInputItems reactionInputItems = reactionInputItems
function preserveReagents()
reactionInputItems:resize(0)
end
eventful.enableEvent(eventful.eventType.UNLOAD,1) eventful.enableEvent(eventful.eventType.UNLOAD,1)
eventful.onUnload.reactionProductTrigger = function() eventful.onUnload.reactionProductTrigger = function()
productHooks = {} productHooks = {}