Skip to content

Commit 289812a

Browse files
committed
fix unknown download type intolerance (unrealmodding upstream); update persistent_actors_map field for dlc
1 parent e1bdfc8 commit 289812a

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Astroneer Modloader"
99
[workspace.dependencies]
1010
astro_mod_integrator = { path = "./astro_mod_integrator" }
1111

12-
unreal_mod_manager = { rev = "a2a39b8deefe0448aceff0492b4ca10889bf676a", git = "https://github.com/AstroTechies/unrealmodding", features = [
12+
unreal_mod_manager = { rev = "c636ad4e30c0f048f931d03a803d233c06dbf5d8", git = "https://github.com/AstroTechies/unrealmodding", features = [
1313
"ue4_23",
1414
"cpp_loader",
1515
] }

astro_mod_integrator/baked/800-CoreMod-0.1.0_P/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"persistent_actors": ["/Game/Integrator/NotificationActor"],
99
"persistent_actor_maps": [
1010
"Astro/Content/Maps/Staging_T2.umap",
11-
"Astro/Content/Maps/Staging_T2_PackedPlanets_Switch.umap"
11+
"Astro/Content/Maps/Staging_T2_PackedPlanets_Switch.umap",
12+
"Astro/Content/U32_Expansion/U32_Expansion.umap"
1213
]
1314
}
1415
}

astro_modloader/src/logging.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,23 @@ impl Log for SimpleLogger {
4747

4848
// just log debug and above, as otherwise logs are far, far too verbose
4949
if record.level() <= Level::Debug {
50-
let level = match record.level() {
50+
let level_colored = match record.level() {
5151
Level::Error => "ERROR".red(),
5252
Level::Warn => "WARN".yellow(),
5353
Level::Info => "INFO".green(),
5454
Level::Debug => "DEBUG".cyan(),
5555
Level::Trace => "TRACE".blue(),
5656
};
57+
let level = match record.level() {
58+
Level::Error => "ERROR",
59+
Level::Warn => "WARN",
60+
Level::Info => "INFO",
61+
Level::Debug => "DEBUG",
62+
Level::Trace => "TRACE",
63+
};
5764

5865
println!(
59-
"{}{level:<5} {file_path}:{}{} {}",
66+
"{}{level_colored:<5} {file_path}:{}{} {}",
6067
"[".truecolor(100, 100, 100),
6168
record.line().unwrap_or(0),
6269
"]".truecolor(100, 100, 100),

0 commit comments

Comments
 (0)