hacky fix for preventing beancounter from deleting items

This commit is contained in:
Manuel Simon Hirsig
2017-04-18 06:32:45 +02:00
parent 191c98d329
commit 36785c4e9b
+7 -4
View File
@@ -189,10 +189,13 @@ do
end
end
function Inbox_Open(i)
TakeInboxMoney(i)
TakeInboxItem(i)
DeleteInboxItem(i)
do
local TakeInboxMoney, TakeInboxItem, DeleteInboxItem = TakeInboxMoney, TakeInboxItem, DeleteInboxItem -- hack to prevent beancounter from deleting mail
function Inbox_Open(i)
TakeInboxMoney(i)
TakeInboxItem(i)
DeleteInboxItem(i)
end
end
function Inbox_UpdateLock()