Add Catenary DC electrification layer, CommunityMapLocation fixes, and CI/CD
Deploy & Release / build-and-deploy (push) Successful in 1m3s

This commit is contained in:
m4xx1m committed 2026-10-21 04:55:00 +03:00
1 parent 8252fd6ba9
commit 68d5058106
11 files changed
+660 -20

No files matched your search

@@ -1,4 +1,4 @@
using DV.OriginShift;
using DV.OriginShift;
using System.Collections.Generic;
using UnityEngine;
@@ -7,6 +7,11 @@ namespace CommunityMapLocation.Api.Location
public class LocationResponse
{
public LocationResponse(Transform playerTransform, bool reverse)
: this(playerTransform, playerTransform, reverse)
{
}
public LocationResponse(Transform playerTransform, Transform rotationTransform, bool reverse)
{
var position = playerTransform.AbsolutePosition();
@@ -14,7 +19,8 @@ namespace CommunityMapLocation.Api.Location
Y = position.y;
Z = position.z;
var angle = playerTransform.rotation.eulerAngles.y;
var targetTransform = rotationTransform != null ? rotationTransform : playerTransform;
var angle = targetTransform.rotation.eulerAngles.y;
if (reverse)
{