Skip to content

Commit d5c17c4

Browse files
committed
Fix spawn_as not persisting the new body on stage transition
1 parent b342669 commit d5c17c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Code/DT-Commands/PlayerCommands.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ private static void CCSpawnAs(ConCommandArgs args)
149149
return;
150150
}
151151

152+
master.originalBodyPrefab = newBody;
152153
master.bodyPrefab = newBody;
153154
Log.MessageNetworked(args.sender.userName + " is spawning as " + newBody.name, args);
154155

0 commit comments

Comments
 (0)