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:
parent
45ba9ea73c
commit
35676b7660
1 changed files with 1 additions and 1 deletions
|
|
@ -898,7 +898,7 @@ class Object(models.Model):
|
||||||
#execute eventual extra commands on this object after moving it
|
#execute eventual extra commands on this object after moving it
|
||||||
self.scriptlink.at_after_move()
|
self.scriptlink.at_after_move()
|
||||||
|
|
||||||
if force_look:
|
if force_look and self.is_player():
|
||||||
self.execute_cmd('look')
|
self.execute_cmd('look')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue