mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
Remove Visitor Shuttles (Real) and also cleanup the event rule system to not break when I try to do this. (#41915)
* shelve * halfway there * borgar * just pass TimeSpan.Zero???? * better API * no more TODO * comment * some fixes * Gonna make a new PR for this I guess shrug * add quark back, cleanup some stuff * add syndie pod back * one final change --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
Coryler
co-authored by
Princess Cheeseballs
parent
588c07b7e1
commit
b6b2a563ab
@@ -26,6 +26,17 @@ public sealed class EntityTableSystem : EntitySystem
|
||||
ctx ??= new EntityTableContext();
|
||||
return table.GetSpawns(rand, EntityManager, _prototypeManager, ctx);
|
||||
}
|
||||
|
||||
// TODO: Have this method be much better for entity tables
|
||||
public IEnumerable<EntProtoId> ListSpawns(EntityTableSelector? table, System.Random? rand = null, EntityTableContext? ctx = null)
|
||||
{
|
||||
if (table == null)
|
||||
return new List<EntProtoId>();
|
||||
|
||||
rand ??= _random.GetRandom();
|
||||
ctx ??= new EntityTableContext();
|
||||
return table.ListSpawns(rand, EntityManager, _prototypeManager, ctx);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user