It was found during the recent commit that load_player wouldn't look for Player objects, it would look at any kind of object.
@@ -92,7 +92,7 @@ impl Object {
match obj {
Some(obj) => {
eprintln!("OK");
- if obj.name == *name {
+ if obj.name == *name && obj.kind == Kind::Player {
return Some(obj);
}