mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
log::error instead of panic
Former-commit-id: 802f81425869698a95654d423fef93136617cb5f
This commit is contained in:
parent
64b00f41f4
commit
f0397f1a32
@ -469,7 +469,7 @@ impl FigureMgr {
|
||||
.join()
|
||||
{
|
||||
if stat.is_dead() {
|
||||
//return;
|
||||
return;
|
||||
}
|
||||
|
||||
match actor {
|
||||
@ -488,7 +488,7 @@ impl FigureMgr {
|
||||
|
||||
renderer.render_figure(model, globals, locals, bone_consts);
|
||||
} else {
|
||||
panic!();
|
||||
log::error!("Body has no saved figure");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user