Bugfixes & Reactive Refactor
Added credits display to trade screen Fixed bug in inventory screen where a failed drag from a cargo bay would make the item disappear until a refresh is triggered Changed behavior of Escape key to exit menu if a menu is open Fixed zone map gravity isolines to correctly track maximum gravity depth Refactored orbit and planet data to replace reactive variables with regular ones
This commit is contained in:
parent
7561c09edc
commit
6b0860b178
43 changed files with 1833 additions and 728 deletions
|
|
@ -716,7 +716,7 @@ public abstract class Entity
|
|||
|
||||
public EquippedDockingBay TryDock(Ship ship)
|
||||
{
|
||||
if (!IsDockingPermitted(ship.GetFactionRelationship(Faction), CurrentSecurityLevel.Value)) return null;
|
||||
//if (!IsDockingPermitted(ship.GetFactionRelationship(Faction), CurrentSecurityLevel.Value)) return null;
|
||||
|
||||
var bay = DockingBays.FirstOrDefault(x => x.DockedShip == null);
|
||||
if (bay != null)
|
||||
|
|
@ -1368,7 +1368,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
|
||||
public readonly Dictionary<Guid, List<ItemInstance>> ItemsOfType = new Dictionary<Guid, List<ItemInstance>>();
|
||||
|
||||
public readonly CargoBayData Data;
|
||||
public new readonly CargoBayData Data;
|
||||
|
||||
public float Mass { get; private set; }
|
||||
public float ThermalMass { get; private set; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue