Fixes runtime in Topics() when called from non-NanoUI sources.

This commit is contained in:
PsiOmega
2015-02-21 10:32:20 +01:00
parent 81599a9203
commit 89da19de8a
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -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()