Skip to content
This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Commit 6301f1f

Browse files
committed
upgraded to SpatialOS 11.0.0
1 parent 420b760 commit 6301f1f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

snapshots/default.snapshot

-7 Bytes
Binary file not shown.

workers/unity/Assets/Gamelogic/EntityTemplates/EntityTemplateFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static Entity CreatePlayerCreatorTemplate()
1616
{
1717
var playerCreatorEntityTemplate = EntityBuilder.Begin()
1818
.AddPositionComponent(Improbable.Coordinates.ZERO.ToUnityVector(), CommonRequirementSets.PhysicsOnly)
19-
.AddMetadataComponent(entityType: SimulationSettings.CubePrefabName)
19+
.AddMetadataComponent(entityType: SimulationSettings.PlayerCreatorPrefabName)
2020
.SetPersistence(true)
2121
.SetReadAcl(CommonRequirementSets.PhysicsOrVisual)
2222
.AddComponent(new Rotation.Data(new Quaternion(0, 0, 0, 0)), CommonRequirementSets.PhysicsOnly)

0 commit comments

Comments
 (0)