diff options
Diffstat (limited to 'server/src/data.rs')
-rw-r--r-- | server/src/data.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/data.rs b/server/src/data.rs index 17b508ec..5fa1a009 100644 --- a/server/src/data.rs +++ b/server/src/data.rs @@ -132,10 +132,10 @@ pub fn build_gamedata( for (x, tile) in line.trim().char_indices() { let pos = IVec2::new(x as i32, y as i32); if tile == map_in.chef_spawn { - chef_spawn = pos.as_vec2(); + chef_spawn = pos.as_vec2() + Vec2::splat(0.5); } if tile == map_in.customer_spawn { - customer_spawn = pos.as_vec2(); + customer_spawn = pos.as_vec2() + Vec2::splat(0.5); } let tilename = map_in.tiles[&tile].clone(); let itemname = map_in.items.get(&tile).cloned(); |