Merge pull request #527 from PHIDIAS0303/patch-1

Player Stat
This commit is contained in:
phidias authored and GitHub committed 2026-11-21 15:56:59 +00:00
1 parent f77621376d
commit ffd350f383
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ local function get_cause_player(cause)
local occupant = cause --- @type LuaEntity | LuaPlayer
if crewed_vehicles[cause.type] then
local crew = cause.get_driver() or cause.get_passenger()
local crew = cause.get_driver()
if not crew then return nil end
occupant = crew
end