Skip to content

Commit

Permalink
...and missing token
Browse files Browse the repository at this point in the history
  • Loading branch information
hanakocz committed Nov 2, 2023
1 parent 3c463dd commit 73edbf6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions maps/journey/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ journey.import = Token.register(
end
)

journey.check_import = Token.register(
function(data)
if not data then
return
end
script.raise_event(events.check_import, data)
end
)

local function on_chunk_generated(event)
local surface = event.surface

Expand Down

0 comments on commit 73edbf6

Please sign in to comment.