mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix: character now spawns with a weapon again
This commit is contained in:
parent
0ae15bb251
commit
5bff899522
@ -1,7 +1,6 @@
|
|||||||
use super::SysTimer;
|
use super::SysTimer;
|
||||||
use crate::{auth_provider::AuthProvider, client::Client, CLIENT_TIMEOUT};
|
use crate::{auth_provider::AuthProvider, client::Client, CLIENT_TIMEOUT};
|
||||||
use common::{
|
use common::{
|
||||||
assets,
|
|
||||||
comp::{Admin, Body, CanBuild, Controller, Ori, Player, Pos, Vel},
|
comp::{Admin, Body, CanBuild, Controller, Ori, Player, Pos, Vel},
|
||||||
event::{EventBus, ServerEvent},
|
event::{EventBus, ServerEvent},
|
||||||
msg::{validate_chat_msg, ChatMsgValidationError, MAX_BYTES_CHAT_MSG},
|
msg::{validate_chat_msg, ChatMsgValidationError, MAX_BYTES_CHAT_MSG},
|
||||||
@ -169,8 +168,7 @@ impl<'a> System<'a> for Sys {
|
|||||||
entity,
|
entity,
|
||||||
name,
|
name,
|
||||||
body,
|
body,
|
||||||
main: main
|
main,
|
||||||
.and_then(|specifier| assets::load_cloned(&specifier).ok()),
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
ClientState::Character => client.error_state(RequestStateError::Already),
|
ClientState::Character => client.error_state(RequestStateError::Already),
|
||||||
|
Loading…
Reference in New Issue
Block a user