Merge pull request #4336 from Citadel-Station-13/upstream-merge-33457
[MIRROR] Check ticks some more in dock()
This commit is contained in:
@@ -562,6 +562,7 @@
|
||||
|
||||
var/list/old_contents = oldT.contents
|
||||
for(var/k in 1 to old_contents.len)
|
||||
CHECK_TICK
|
||||
var/atom/movable/moving_atom = old_contents[k]
|
||||
if(moving_atom.loc != oldT) //fix for multi-tile objects
|
||||
continue
|
||||
@@ -575,12 +576,13 @@
|
||||
|
||||
old_turfs[oldT] = move_mode
|
||||
|
||||
/*******************************************Hiding turfs if necessary******************************************/
|
||||
/*******************************************Hiding turfs if necessary*******************************************/
|
||||
|
||||
var/list/new_hidden_turfs
|
||||
if(hidden)
|
||||
new_hidden_turfs = list()
|
||||
for(var/i in 1 to old_turfs.len)
|
||||
CHECK_TICK
|
||||
var/turf/oldT = old_turfs[i]
|
||||
if(old_turfs[oldT] & MOVE_TURF)
|
||||
new_hidden_turfs += new_turfs[i]
|
||||
@@ -588,6 +590,8 @@
|
||||
|
||||
/*******************************************All onShuttleMove procs******************************************/
|
||||
|
||||
CHECK_TICK
|
||||
|
||||
for(var/i in 1 to old_turfs.len)
|
||||
var/turf/oldT = old_turfs[i]
|
||||
var/turf/newT = new_turfs[i]
|
||||
|
||||
Reference in New Issue
Block a user