1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-20 03:29:47 +02:00

Autostash - fix weird event bug when mods call raise_event

This commit is contained in:
Gerkiz 2022-08-12 19:11:27 +02:00
parent 5bb04713f5
commit 65fb220488

View File

@ -700,6 +700,10 @@ Event.add(
BottomFrame.events.bottom_quickbar_button_name,
function(data)
local event = data.event
if not event then
return
end
local player = event.player
auto_stash(player, event)
end