Trolley Hitch Fix (#10357)

This commit is contained in:
Geeves
2020-10-26 08:42:26 +01:00
committed by GitHub
parent 563299dae6
commit 1f70bccd37
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -97,8 +97,8 @@
/obj/vehicle/train/MouseDrop_T(var/atom/movable/C, mob/user as mob)
if(user.buckled || user.stat || user.restrained() || !Adjacent(user) || !user.Adjacent(C) || !istype(C) || (user == C && !user.canmove))
return
if(istype(C,/obj/vehicle/train))
latch(C, user)
if(istype(C, /obj/vehicle/train))
attach_to(C, user)
else
if(!load(C))
to_chat(user, "<span class='warning'>You were unable to load [C] on [src].</span>")
+6
View File
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "Unlatched trolleys can now be hitched again by dragging from the trolley you want to hitch to, to the unhitched trolley."