mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Fixes runtime on initalizing science programs (#78842)
Datums don't have location, so there's no z level to search here.
This commit is contained in:
@@ -313,6 +313,8 @@ SUBSYSTEM_DEF(research)
|
||||
*/
|
||||
/datum/controller/subsystem/research/proc/get_available_servers(turf/location)
|
||||
var/list/local_servers = list()
|
||||
if(!location)
|
||||
return local_servers
|
||||
for (var/datum/techweb/individual_techweb as anything in techwebs)
|
||||
var/list/servers = find_valid_servers(location, individual_techweb)
|
||||
if(length(servers))
|
||||
|
||||
Reference in New Issue
Block a user