Tgui and nif runtimes (#7864)

This commit is contained in:
Raeschen
2024-03-02 12:45:36 +01:00
committed by GitHub
parent 6a6c6f7807
commit 1ffd9c2745
3 changed files with 10 additions and 6 deletions
+4 -1
View File
@@ -461,7 +461,10 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable
//Uninstall a piece of software
/obj/item/device/nif/proc/uninstall(var/datum/nifsoft/old_soft)
var/datum/nifsoft/NS = nifsofts[old_soft.list_pos]
var/datum/nifsoft/NS
if(nifsofts)
NS = nifsofts[old_soft.list_pos]
if(!NS || NS != old_soft)
return FALSE //what??