mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 17:26:32 +01:00
Changed initial look command (at login) to be called from at_post_login hook instead of from the default connect command, supposedly making it easier for those only wanting to change this one line rather than having to re-target connect. The player.at_post_login now also calls look in case no character is defined, for the cases when logging in without having a character selected. Resolves Issue 277.
This commit is contained in:
parent
97973dd5f9
commit
532cbc5fb6
3 changed files with 16 additions and 14 deletions
|
|
@ -761,6 +761,8 @@ class Character(Object):
|
|||
|
||||
self.location.msg_contents("%s has entered the game." % self.name, exclude=[self])
|
||||
self.location.at_object_receive(self, self.location)
|
||||
# call look
|
||||
self.execute_cmd("look")
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue