From cc21f9b32a38617376813f7e25c5a745fce22ea5 Mon Sep 17 00:00:00 2001 From: Drathek <76988376+Drulikar@users.noreply.github.com> Date: Wed, 6 Dec 2023 01:58:58 -0800 Subject: [PATCH] Fix Nano Subsystem Init Error (#5119) # About the pull request This PR fixes an unintended change made in #4940 where the flag for the nano subsystem was changed. If Initialize was used instead of New this change would be correct, but using New is intentional. # Explain why it's good for the game Fixes: `Initialized Nano UI subsystem with errors within 0 seconds!` and `[20:19:57]WARNING: Nano UI subsystem does not implement Initialize() or it returns ..(). If the former is true, the SS_NO_INIT flag should be set for this subsystem.` # Testing Photographs and Procedure
Screenshots & Videos ![image](https://github.com/cmss13-devs/cmss13/assets/76988376/5b32237a-cc7e-4bd6-95fc-1a3ac41c382b)
# Changelog :cl: Drathek fix: Fix some errors regarding the nano subystem /:cl: --- code/controllers/subsystem/nanoui.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/controllers/subsystem/nanoui.dm b/code/controllers/subsystem/nanoui.dm index d89474dd50f1..85ad0d32aaf4 100644 --- a/code/controllers/subsystem/nanoui.dm +++ b/code/controllers/subsystem/nanoui.dm @@ -1,5 +1,6 @@ SUBSYSTEM_DEF(nano) name = "Nano UI" + flags = SS_NO_INIT wait = 2 SECONDS priority = SS_PRIORITY_NANOUI runlevels = RUNLEVELS_DEFAULT|RUNLEVEL_LOBBY