irmen / Tale

Interactive fiction (text adventure) and Mud framework
http://tale.readthedocs.io/
GNU Lesser General Public License v3.0
145 stars 35 forks source link

driver.player should not be a global #2

Closed irmen closed 9 years ago

irmen commented 11 years ago

driver.player is a global, this won't work in multi-user mode. The driver should maintain a collection of all logged in players and pass around the active player object instead of relying on accessing it globally (except from the threadlocal mud_context)