Mechs now can be connected to atmos ports (#30551)

* Mechs now can be connected to atmos ports

* Using internal_tank instead of dead code.

* Apply Cyberboss's advises

Corrected stupid typos

* Broke connection if external powers move mech

Remove forgotten comment

* get_turf(src)
This commit is contained in:
MrROBUST
2017-09-11 20:24:38 +03:00
committed by CitadelStationBot
parent 8ee6fdb76a
commit 2812a72cca
3 changed files with 24 additions and 30 deletions

View File

@@ -48,7 +48,7 @@
return 0
//Make sure are close enough for a valid connection
if(new_port.loc != loc)
if(new_port.loc != get_turf(src))
return 0
//Perform the connection