From cd1ef71e31ebdb5d335c55755d3df9789b1f21c3 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:28:42 +1100 Subject: [PATCH] Fix tiledef reloads AKA void planet (#23864) --- Content.Shared/Entry/EntryPoint.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Content.Shared/Entry/EntryPoint.cs b/Content.Shared/Entry/EntryPoint.cs index baae144ac5..bd31b1fd7c 100644 --- a/Content.Shared/Entry/EntryPoint.cs +++ b/Content.Shared/Entry/EntryPoint.cs @@ -83,8 +83,12 @@ namespace Content.Shared.Entry private void PrototypeReload(PrototypesReloadedEventArgs obj) { + /* I am leaving this here commented out to re-iterate + - our game is shitcode + - tiledefmanager no likey proto reloads and you must re-assign the tile ids. if (!obj.WasModified()) return; + */ // Need to re-allocate tiledefs due to how prototype reloads work foreach (var def in _prototypeManager.EnumeratePrototypes()) -- 2.51.2