Esempio n. 1
0
 public void RespawnHorse()
 {
     if (!(GetVehicleOccupying() != null))
     {
         BaseVehicle baseVehicle = SpawnVehicle(objectsToSpawn[0].prefabToSpawn.resourcePath, null);
         if (spawnForSale)
         {
             baseVehicle.SetFlag(Flags.Reserved2, true);
         }
     }
 }