mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes longstanding connection bug.
This commit is contained in:
@@ -104,8 +104,7 @@ Indirect connections will not merge the two zones after they reach equilibrium.
|
||||
|
||||
//Disconnect zones while handling unusual conditions.
|
||||
// e.g. loss of a zone on a turf
|
||||
if(A && A.zone && B && B.zone)
|
||||
DisconnectZones(A.zone, B.zone)
|
||||
DisconnectZones(zone_A, zone_B)
|
||||
|
||||
//Finally, preform actual deletion.
|
||||
. = ..()
|
||||
@@ -400,4 +399,4 @@ Indirect connections will not merge the two zones after they reach equilibrium.
|
||||
|
||||
#undef CONNECTION_DIRECT
|
||||
#undef CONNECTION_INDIRECT
|
||||
#undef CONNECTION_CLOSED
|
||||
#undef CONNECTION_CLOSED
|
||||
|
||||
Reference in New Issue
Block a user