removed redundant clear
This commit is contained in:
parent
c75f6ccec1
commit
6bc3410c38
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue