Map & Grid Entities (#493)
* Client & Server load with new scene hierarchy. * Engine Update.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
c2c512a7e3
commit
ece6e0a833
@@ -40,6 +40,9 @@ namespace Content.Client.GameObjects.Components
|
||||
{
|
||||
base.Shutdown();
|
||||
|
||||
if(Owner.Transform.Running == false)
|
||||
return;
|
||||
|
||||
_snapGridComponent.OnPositionChanged -= SnapGridOnPositionChanged;
|
||||
Owner.EntityManager.EventBus.RaiseEvent(Owner, new SubFloorHideDirtyEvent());
|
||||
}
|
||||
|
||||
@@ -37,9 +37,9 @@ namespace Content.Server.GameObjects.Components.Power
|
||||
/// </summary>
|
||||
public event EventHandler<PowernetEventArgs> OnPowernetRegenerate;
|
||||
|
||||
public override void Initialize()
|
||||
protected override void Startup()
|
||||
{
|
||||
base.Initialize();
|
||||
base.Startup();
|
||||
|
||||
TryCreatePowernetConnection();
|
||||
}
|
||||
|
||||
@@ -27,9 +27,9 @@ namespace Content.Server.GameObjects.Components.Power
|
||||
[ViewVariables]
|
||||
public bool Regenerating { get; set; } = false;
|
||||
|
||||
public override void Initialize()
|
||||
protected override void Startup()
|
||||
{
|
||||
base.Initialize();
|
||||
base.Startup();
|
||||
|
||||
if (Parent == null)
|
||||
{
|
||||
|
||||
Submodule RobustToolbox updated: df34ce025a...f5c0dba194
Reference in New Issue
Block a user