From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 10 Jan 2024 12:28:42 +0000 (+1100) Subject: Fix tiledef reloads AKA void planet (#23864) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=cd1ef71e31ebdb5d335c55755d3df9789b1f21c3;p=space-station-14.git Fix tiledef reloads AKA void planet (#23864) --- 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())