Skip to content

Commit

Permalink
bugfix: Resolves test errors for idlenpcpool (ss220-space#6234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell authored Dec 6, 2024
1 parent 709eae6 commit f865651
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/controllers/subsystem/idlenpcpool.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ SUBSYSTEM_DEF(idlenpcpool)


/datum/controller/subsystem/idlenpcpool/fire(resumed = FALSE)
if(!resumed)
var/list/idlelist = GLOB.simple_animals[AI_IDLE]
src.currentrun = idlelist.Copy()
var/list/idlelist = GLOB.simple_animals[AI_IDLE]
src.currentrun = idlelist.Copy()

//cache for sanic speed (lists are references anyways)
var/list/currentrun = src.currentrun
Expand Down

0 comments on commit f865651

Please sign in to comment.