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

put command can crash driver #25

Closed irmen closed 8 years ago

irmen commented 8 years ago

the put command allows for creating instructions that crash the driver because of an assert in the code that is violated.

For instance 'put me in table' will crash the driver because eventually a call to Player.insert is done where the item is the player itself.

irmen commented 8 years ago

Exceptions are now printed out but no longer crash the driver loop.

Still have to fix the put command where the player attempts to place a living inside something else (this causes the assert)