mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 05:02:42 +00:00
Merge pull request #8191 from PsiOmegaDelta/NanoFix
Fixes runtime in Topics() when called from non-NanoUI sources.
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
if(!nowindow && ..())
|
||||
return 1
|
||||
|
||||
if(!custom_state)
|
||||
custom_state = default_state
|
||||
|
||||
// In the far future no checks are made in an overriding Topic() beyond if(..()) return
|
||||
// Instead any such checks are made in CanUseTopic()
|
||||
var/obj/host = nano_host()
|
||||
|
||||
Reference in New Issue
Block a user