Update events.lua

This commit is contained in:
phidias authored and GitHub committed 2026-11-16 14:47:39 +09:00
1 parent cade0cc4d4
commit 5b1c001f29
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ add(defines.events.on_marked_for_deconstruction, on_removed)
add(defines.events.on_player_mined_entity, on_removed)
--- Vehicles which credit their driver, or failing that their passenger, with what they hit
local crewed_vehicles = { car = true, ["spider-vehicle"] = true, locomotive = true }
local crewed_vehicles = { car = true, ["spider-vehicle"] = true }
--- Get the connected player behind the cause of damage or a death, nil for turrets, trains without a crew and the like
--- @param cause LuaEntity?