mech air overhaul (#19140)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-09-03 07:30:26 +01:00
committed by GitHub
parent b52b063d6f
commit 79394e7e70
6 changed files with 161 additions and 59 deletions

View File

@@ -406,7 +406,7 @@ public abstract class SharedMechSystem : EntitySystem
/// <param name="toInsert"></param>
/// <param name="component"></param>
/// <returns>Whether or not the entity was inserted</returns>
public virtual bool TryInsert(EntityUid uid, EntityUid? toInsert, MechComponent? component = null)
public bool TryInsert(EntityUid uid, EntityUid? toInsert, MechComponent? component = null)
{
if (!Resolve(uid, ref component))
return false;
@@ -429,7 +429,7 @@ public abstract class SharedMechSystem : EntitySystem
/// <param name="uid"></param>
/// <param name="component"></param>
/// <returns>Whether or not the pilot was ejected.</returns>
public virtual bool TryEject(EntityUid uid, MechComponent? component = null)
public bool TryEject(EntityUid uid, MechComponent? component = null)
{
if (!Resolve(uid, ref component))
return false;