home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug that created multiple objects of same ID.
[plomrogue2-experiments]
/
new
/
plomrogue
/
things.py
diff --git
a/new/plomrogue/things.py
b/new/plomrogue/things.py
index 797fd6bce2ea347e13502670d5ab0bcad654bcfd..7789223b9c9e63abbb24874692ad63cbfc0c0a2c 100644
(file)
--- a/
new/plomrogue/things.py
+++ b/
new/plomrogue/things.py
@@
-246,6
+246,7
@@
class ThingAnimate(Thing):
if self is self.game.player:
self.game.player_is_alive = False
else:
if self is self.game.player:
self.game.player_is_alive = False
else:
+ # TODO: Handle inventory.
del self.game.things[self.game.things.index(self)]
return
try:
del self.game.things[self.game.things.index(self)]
return
try: