diff --git a/.travis.yml b/.travis.yml index c44d899ec30..15910cd810b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ language: c env: global: - - BYOND_MAJOR="503" - - BYOND_MINOR="1224" + - BYOND_MAJOR="508" + - BYOND_MINOR="1287" matrix: - DM_MAPFILE="cyberiad" diff --git a/code/game/objects/items/weapons/swords_axes_etc.dm b/code/game/objects/items/weapons/swords_axes_etc.dm index 399bd03325b..29ad0f0002c 100644 --- a/code/game/objects/items/weapons/swords_axes_etc.dm +++ b/code/game/objects/items/weapons/swords_axes_etc.dm @@ -204,7 +204,7 @@ del(src) return -/obj/item/weapon/melee/energy/blade/proc/throw() +/obj/item/weapon/melee/energy/blade/proc/toss() del(src) return diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 13514e21ebf..609c5afe269 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -428,7 +428,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump, if (istype(item, /obj/item/weapon/grab)) var/obj/item/weapon/grab/G = item - item = G.throw() //throw the person instead of the grab + item = G.get_mob_if_throwable() //throw the person instead of the grab if(ismob(item)) var/turf/start_T = get_turf(loc) //Get the start and target tile for the descriptors var/turf/end_T = get_turf(target) diff --git a/code/modules/mob/mob_grab.dm b/code/modules/mob/mob_grab.dm index 47e0740be4b..0527fa5d93e 100644 --- a/code/modules/mob/mob_grab.dm +++ b/code/modules/mob/mob_grab.dm @@ -55,7 +55,7 @@ adjust_position() //Used by throw code to hand over the mob, instead of throwing the grab. The grab is then deleted by the throw code. -/obj/item/weapon/grab/proc/throw() +/obj/item/weapon/grab/proc/get_mob_if_throwable() if(affecting && assailant.Adjacent(affecting)) if(affecting.buckled) return null