Skip to content

Commit

Permalink
Fix Nano Subsystem Init Error (#5119)
Browse files Browse the repository at this point in the history
# 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
<details>
<summary>Screenshots & Videos</summary>


![image](https://github.com/cmss13-devs/cmss13/assets/76988376/5b32237a-cc7e-4bd6-95fc-1a3ac41c382b)

</details>


# Changelog
:cl: Drathek
fix: Fix some errors regarding the nano subystem
/:cl:
  • Loading branch information
Drulikar authored Dec 6, 2023
1 parent f1bd542 commit cc21f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/controllers/subsystem/nanoui.dm
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cc21f9b

Please sign in to comment.