mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Fix runtime in fake virus event (#3664)
## About The Pull Request proc passes the list of victims instead of the current victim in the loop and it runtimes ## Why It's Good For The Game Bug ## Proof Of Testing No ## Changelog No
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
if(!(victim.mind?.assigned_role.job_flags & JOB_CREW_MEMBER))
|
||||
continue
|
||||
// SKYRAT EDIT ADD START - Station/area event candidate filtering
|
||||
if(engaged_role_play_check(fake_virus_victims, station = TRUE, dorms = TRUE))
|
||||
if(engaged_role_play_check(victim, station = TRUE, dorms = TRUE))
|
||||
continue
|
||||
// SKYRAT EDIT ADD END
|
||||
fake_virus_victims += victim
|
||||
|
||||
Reference in New Issue
Block a user