function sprayCanImage::onMount(%this,%obj,%slot) {
%obj.unMountImage(%slot);
serverCmdUseSprayCan(findClientByName(%obj.client.name));
Parent::onMount(%this,%obj,%slot)
}
I could be wrong here, but I'm pretty sure that's an infinite loop of remounting. serverCmdUseSprayCan would call onMount again from inside onMount, which would thus call onMount from inside that one, which would call onMount from inside that one, etc, etc. Be careful for recursivity.