removed redundant clear

This commit is contained in:
Lukas Nöllemeyer 2024-08-17 15:30:06 +02:00
parent c75f6ccec1
commit 6bc3410c38

View file

@ -85,5 +85,4 @@ def new_world() -> Registry:
def unlock_door(door: Entity): def unlock_door(door: Entity):
door.components[Graphic] = Graphic(ord("_")) door.components[Graphic] = Graphic(ord("_"))
door.components.pop(Action) door.components.pop(Action)
door.tags.clear()
add_wall(g.world, door.components[Position], remove=True) add_wall(g.world, door.components[Position], remove=True)