All entities must be dependent on themselves (reason: see last commit)

This commit is contained in:
Tristan B. Kildaire 2021-06-06 18:46:21 +02:00
parent 15bce32ef6
commit 343564f287
1 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,13 @@ public void dependancyGenerate(TypeChecker tc, Container container)
*/
foreach(Entity entity; containerEntities)
{
/**
* Encounter yourself as to not be lost if you need not depens on anything else
* cause if this is not done then we can easily forget `int jNumber;` at module-level
* for example.
*/
encounter(tc, entity, entity);
/**
* If we are at Module level then things differ
* ever so slightly