| Issue 15: | isinstance() fails in objectEntered check in Location.py | |
| 1 person starred this issue and may be notified of changes. | Back to list |
python doesn't load a module as a singleton - it can be reloaded as different module instances which screws the isinstance method. It's not clear how I can ensure that I'm using the same module instance in this case, so for now, we'll implement a WorldObject method which returns a type as integer. Player will override it and return its own type identifier. Eventually, I should look at this and see if it is possible to correct the root of the problem.
Jan 7, 2012
Project Member
#1
johnamag...@gmail.com
Status:
Fixed
|