Skip to content

Commit

Permalink
Show TSStatic shapes in level preview
Browse files Browse the repository at this point in the history
  • Loading branch information
HumanGamer committed Mar 5, 2024
1 parent b9d921b commit 903ea7e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions game/marble/client/init.cs
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,9 @@ function populatePreviewMission()

// Then the glass
loadObjectsFromMission(%mission, "StaticShape", "glass_18shape");

// TSStatics
loadObjectsFromMission(%mission, "TSStatic");
}

for (%i = 0; %i < CustomSinglePlayMissionGroup.getCount(); %i++)
Expand Down Expand Up @@ -757,6 +760,9 @@ function populatePreviewMission()

// Then the glass
loadObjectsFromMission(%mission, "StaticShape", "glass_18shape");

// TSStatics
loadObjectsFromMission(%mission, "TSStatic");
}

for (%i = 0; %i < MultiPlayMissionGroup.getCount(); %i++)
Expand Down Expand Up @@ -787,6 +793,9 @@ function populatePreviewMission()

// Then the glass
loadObjectsFromMission(%mission, "StaticShape", "glass_18shape");

// TSStatics
loadObjectsFromMission(%mission, "TSStatic");
}

for (%i = 0; %i < SpecialMissionGroup.getCount(); %i++)
Expand Down

0 comments on commit 903ea7e

Please sign in to comment.