fixes a goof where if a blob round was continous but not using midround_antag the shuttle would get caught in a loop of repeatedly stranding and unstranding itself. emergencyNoEscape was being fixed in the mulligan code, and I forgot to generalize it out when it stopped being an assured thing that a continuous round was also a mulligan round. The other two potentially effected modes (Malf and Wizard) already had this check generalized.

This commit is contained in:
Incoming
2015-04-15 18:12:32 -04:00
parent 8402c714be
commit f7a7ef36dc
2 changed files with 1 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
return 1
if(!blob_cores.len) // blob is dead
if(config.continuous["blob"])
SSshuttle.emergencyNoEscape = 0
if(SSshuttle.emergency.mode == SHUTTLE_STRANDED)
SSshuttle.emergency.mode = SHUTTLE_DOCKED
SSshuttle.emergency.timer = world.time