Merge pull request #5824 from dylanstrategie/Clown-Cart-Fix

Fix #5799, Clowncarts now eject players properly
This commit is contained in:
Rob Nelson
2015-09-24 02:14:17 -07:00

View File

@@ -260,8 +260,9 @@
if(reagents.total_volume <= 0) //No fuel
if(user)
user << "<span class='warning'>[src] has no fuel, it activates its ejection seat as soon as you jam down the pedal!</span>"
unlock_atom(user)
activated = 0
user.Weaken(5)
user.Weaken(5) //Only Weaken after unbuckling
return
if(activated)
var/old_pos = get_turf(src)