benmoran56 / esper

An ECS (Entity Component System) for Python
MIT License
537 stars 67 forks source link

FIX: removing last component deletes entity as well #83

Closed gretkierewicz closed 1 year ago

gretkierewicz commented 1 year ago

fixes #82

Due to boy scout rule, there are additional minor changes:

gretkierewicz commented 1 year ago

@benmoran56 check this out pls

I'm using pop() instead of del to return removed component but it should not have big performance impact overall

benmoran56 commented 1 year ago

I'll try to get a point release out soon.