Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion gamemode/sv_transition.lua
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,9 @@ function GM:CreateTransitionObjects()
DbgPrint("Using global entity!")
else
ent = ents.Create(data.Class)
ent.CreatedByLevelTransition = true
if IsValid(ent) then
ent.CreatedByLevelTransition = true
end
end

if not IsValid(ent) then
Expand Down
Loading