mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fix supply shuttle forgetting to bring stuff. (#26030)
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
return 2
|
||||
return ..()
|
||||
|
||||
/obj/docking_port/mobile/supply/dock(port)
|
||||
/obj/docking_port/mobile/supply/dock(obj/docking_port/stationary/port)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
@@ -84,11 +84,11 @@
|
||||
// Ignore transit ports.
|
||||
return
|
||||
|
||||
if(is_station_level(z))
|
||||
if(is_station_level(port.z))
|
||||
// Buy when arriving at the station.
|
||||
buy()
|
||||
|
||||
if(z == level_name_to_num(CENTCOMM))
|
||||
if(port.z == level_name_to_num(CENTCOMM))
|
||||
// Sell when arriving at CentComm.
|
||||
sell()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user