mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 10:09:31 +00:00
add spaces
This commit is contained in:
parent
56b4bba166
commit
d7a4038196
@ -65,6 +65,7 @@ namespace QSB.DeathSync.Patches
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
____mapMarkerManager.SetVisible(true);
|
||||
GlobalMessenger.FireEvent("EnterMapView");
|
||||
GlobalMessenger<OWCamera>.FireEvent("SwitchActiveCamera", ____mapCamera);
|
||||
@ -79,6 +80,7 @@ namespace QSB.DeathSync.Patches
|
||||
____audioSource.SetLocalVolume(1f);
|
||||
____audioSource.Play();
|
||||
}
|
||||
|
||||
Locator.GetAudioMixer().MixMap();
|
||||
____activeCam.enabled = false;
|
||||
____mapCamera.enabled = true;
|
||||
@ -97,6 +99,7 @@ namespace QSB.DeathSync.Patches
|
||||
float value = num / Mathf.Tan(0.017453292f * ____mapCamera.fieldOfView * 0.5f) * ____playerFramingScale;
|
||||
____targetZoom = Mathf.Clamp(value, ____minZoomDistance, ____maxZoomDistance);
|
||||
}
|
||||
|
||||
__instance.transform.rotation = Quaternion.LookRotation(-____playerTransform.up, ____playerTransform.forward);
|
||||
__instance.transform.position = ____activeCam.transform.position;
|
||||
____interpPosition = true;
|
||||
|
Loading…
Reference in New Issue
Block a user