Fixed bug in drop command, giving error log messages since it was trying to force non-player objects to execute a look when dropped.

This commit is contained in:
Griatch 2009-09-27 21:11:34 +00:00
parent 45ba9ea73c
commit 35676b7660

View file

@ -898,7 +898,7 @@ class Object(models.Model):
#execute eventual extra commands on this object after moving it
self.scriptlink.at_after_move()
if force_look:
if force_look and self.is_player():
self.execute_cmd('look')