]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix tiledef reloads AKA void planet (#23864)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Wed, 10 Jan 2024 12:28:42 +0000 (23:28 +1100)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2024 12:28:42 +0000 (23:28 +1100)
Content.Shared/Entry/EntryPoint.cs

index baae144ac58df4c64aa24bb3dcb3e2baaa611042..bd31b1fd7ca69a408174174bcbf786da9a2e6376 100644 (file)
@@ -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<ContentTileDefinition>())
                 return;
+                */
 
             // Need to re-allocate tiledefs due to how prototype reloads work
             foreach (var def in _prototypeManager.EnumeratePrototypes<ContentTileDefinition>())