mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] fix two runtimes in virus code (#9793)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
57f2302d2b
commit
343b05a12e
@@ -135,7 +135,7 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease))
|
||||
break
|
||||
var/direction = get_dir(current, target)
|
||||
var/turf/next = get_step(current, direction)
|
||||
if(!current.CanZASPass() || !next.CanZASPass(get_turf(turn(direction, 100))))
|
||||
if(!current.CanZASPass(next))
|
||||
break
|
||||
current = next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user