var/mob/M
S["mob"]>>M
M.key = null
Problem description:
When loading the mob, any client matching its key will be logged into it, which I want to avoid, even when setting the key to null shortly after.
Is there any workaround for this?
ID:141674
Dec 15 2008, 8:51 am
|
|
Code:
var/mob/M Problem description: When loading the mob, any client matching its key will be logged into it, which I want to avoid, even when setting the key to null shortly after. Is there any workaround for this? |
Setting the key to null after the fact won't stop the logout/login from happening. This happens as soon as the mob is loaded and its key var is loaded from the file.
The easiest way would be not to save the key in the file, but to find an ideal solution I'd have to ask why this is coming up. Usually it's desirable for a mob to load in that way.
Lummox JR