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:
parent
5bb04713f5
commit
65fb220488
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user