Browse Source

Slight adjustment to ninja start position.

Lasse Öörni 12 years ago
parent
commit
d89b90b096
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Bin/Data/Scripts/NinjaSnowWar.as

+ 2 - 2
Bin/Data/Scripts/NinjaSnowWar.as

@@ -318,9 +318,9 @@ void SpawnPlayer(Connection@ connection)
 {
 {
     Vector3 spawnPosition;
     Vector3 spawnPosition;
     if (singlePlayer)
     if (singlePlayer)
-        spawnPosition = Vector3(0, 0.9, 0);
+        spawnPosition = Vector3(0, 0.97, 0);
     else
     else
-        spawnPosition = Vector3(Random(spawnAreaSize) - spawnAreaSize * 0.5, 0.9, Random(spawnAreaSize) - spawnAreaSize);
+        spawnPosition = Vector3(Random(spawnAreaSize) - spawnAreaSize * 0.5, 0.97, Random(spawnAreaSize) - spawnAreaSize);
 
 
     Node@ playerNode = SpawnObject(spawnPosition, Quaternion(), "Ninja");
     Node@ playerNode = SpawnObject(spawnPosition, Quaternion(), "Ninja");
     // Set owner connection. Owned nodes are always updated to the owner at full frequency
     // Set owner connection. Owned nodes are always updated to the owner at full frequency