Closed erkyrath closed 9 years ago
This should work the same way as the general instance-reset mechanism: https://github.com/erkyrath/tworld/issues/158
Also reset the guest's preferences.
If a guest instance has inhabitants, boot them. May have to force instance asleep first.
Repeating details from https://github.com/erkyrath/tworld/issues/158:
We don't touch the guest's scope, nor any scopeaccess entries. (If the guest was invited to a group scope, they'll keep that access. Guests should not be allowed to create group scopes.)
Then:
Done! Whew. To celebrate, I've removed the guest restriction on Salvanas.
When a guest logs in for the first time, its desc and pronoun are reset; also all instance properties for its personal start world. But really we want all of the guest's data to be reset. If they visit a world, it should be pristine.
(The code is in create_session_guest(), tweblib/session.py.)