ID:141674
 
Code:
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?
CIB wrote:
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.

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.

Is there any workaround for this?

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