mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Make test-server compile again
This commit is contained in:
parent
3a92ab8901
commit
874a579818
@ -1,7 +1,7 @@
|
||||
#[cfg(not(feature = "worldgen"))]
|
||||
use crate::test_world::{IndexOwned, World};
|
||||
#[cfg(feature = "persistent_world")]
|
||||
use crate::TerrainPersistence;
|
||||
#[cfg(not(feature = "worldgen"))]
|
||||
use test_world::{IndexOwned, World};
|
||||
#[cfg(feature = "worldgen")]
|
||||
use world::{IndexOwned, World};
|
||||
|
||||
|
@ -26,10 +26,7 @@ pub struct IndexOwned;
|
||||
pub struct IndexRef<'a>(&'a IndexOwned);
|
||||
|
||||
impl IndexOwned {
|
||||
pub fn reload_colors_if_changed<R>(
|
||||
&mut self,
|
||||
_reload: impl FnOnce(&mut Self) -> R,
|
||||
) -> Option<R> {
|
||||
pub fn reload_if_changed<R>(&mut self, _reload: impl FnOnce(&mut Self) -> R) -> Option<R> {
|
||||
None
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user