Travis now builds using version 508.1287

throw is now a keyword. Updates usages where necessary to allow compilation.
This commit is contained in:
PsiOmega
2015-06-09 15:36:27 +02:00
parent 32bd5369a9
commit 3591bd5599
3 changed files with 4 additions and 4 deletions

View File

@@ -285,7 +285,7 @@
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.throw_held() //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)

View File

@@ -41,7 +41,7 @@
..()
//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/throw_held()
if(affecting)
if(affecting.buckled)
return null