mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Merge pull request #8623 from sawu-tg/sawu-tg-patch-1
Fixes NPCPool stat runtime
This commit is contained in:
@@ -23,7 +23,7 @@ var/datum/subsystem/npcpool/SSbp
|
||||
|
||||
|
||||
/datum/subsystem/npcpool/stat_entry()
|
||||
stat(name, "[round(cost,0.001)]ds (CPU:[round(cpu,1)]%) (T:[botPool_l.len + botPool_l_non] | D: [needsDelegate.len] | A: [needsAssistant.len + needsHelp_non.len] | U: [canBeUsed.len + canBeUsed_non.len])")
|
||||
stat(name, "[round(cost,0.001)]ds (CPU:[round(cpu,1)]%) (T:[botPool_l.len + botPool_l_non.len] | D: [needsDelegate.len] | A: [needsAssistant.len + needsHelp_non.len] | U: [canBeUsed.len + canBeUsed_non.len])")
|
||||
|
||||
|
||||
/datum/subsystem/npcpool/fire()
|
||||
@@ -111,4 +111,4 @@ var/datum/subsystem/npcpool/SSbp
|
||||
var/obj/machinery/bot/candidate = pick(canBeUsed_non.len)
|
||||
candidate.call_bot(B,get_turf(B),FALSE)
|
||||
canBeUsed_non -= B
|
||||
needsHelp_non -= candidate
|
||||
needsHelp_non -= candidate
|
||||
|
||||
Reference in New Issue
Block a user