From ed3434e538542a4a5e99002e4e094a903bab1407 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 23 Nov 2024 19:29:35 +0100 Subject: [PATCH] rename to more standard names --- src/game/scene.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/scene.rs b/src/game/scene.rs index b39c585..95881c2 100644 --- a/src/game/scene.rs +++ b/src/game/scene.rs @@ -67,8 +67,8 @@ pub(super) fn import_text_world( mut player_spawn_oneshot: Res, ) { let world_string = fs::read_to_string("assets/world.txt").expect("need a world to load"); - let [info_string, world_string] = &readf("info section\n{}\nworld section\n{}", &world_string) - .expect("world does not have sections")[..] + let [info_string, world_string] = + &readf("header\n{}\nbody\n{}", &world_string).expect("world does not have sections")[..] else { unreachable!() };