summaryrefslogtreecommitdiff
path: root/auto_yards/nodes/(-2004,2,-1101).lua
blob: 6ff3fbffcd41fc0f91f41b98392bc0728b7bd6ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local yard_id = "BY"
local subs = {
	['S27'] = POS(-1512,8,-2613),
	['no_match_anywhere'] = POS(-2006,3,-1099),
}

if event.ext_int or event.punch then
	for fc, pos in pairs(subs) do
		if S.yards[yard_id].notify[fc] then
			interrupt_pos(pos,"notify")
		end
	end
	S.yards[yard_id].notify = {}
end