Skip to content

Commit 3beaa95

Browse files
author
Dutchman101
authored
Addendum to 49b52ae (forgot half of the patch)
1 parent 49b52ae commit 3beaa95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

[gameplay]/freeroam/fr_client.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2076,8 +2076,10 @@ end
20762076
local function checkCustomSpawn()
20772077

20782078
if type(customSpawnTable) == "table" then
2079-
local x,y,z = unpack(customSpawnTable)
2079+
local x,y,z,dim,int = unpack(customSpawnTable)
20802080
setPlayerPosition(x,y,z,true)
2081+
setElementDimension(localPlayer, dim)
2082+
setElementInterior(localPlayer, int)
20812083
customSpawnTable = false
20822084
setTimer(removeForcedFade,100,1)
20832085
end

0 commit comments

Comments
 (0)