Merge pull request #6762 from Citadel-Station-13/upstream-merge-37860
[MIRROR] [s] Fixes bioware surgery exploit
This commit is contained in:
@@ -15,8 +15,9 @@
|
||||
if(B.mod_type == mod_type)
|
||||
qdel(src)
|
||||
return
|
||||
owner.bioware += src
|
||||
on_gain()
|
||||
|
||||
|
||||
/datum/bioware/Destroy()
|
||||
owner = null
|
||||
if(active)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/datum/bioware/grounded_nerves
|
||||
name = "Grounded Nerves"
|
||||
desc = "Nerves form a safe path for electricity to traverse, protecting the body from electric shocks."
|
||||
mod_type = "nerves"
|
||||
mod_type = BIOWARE_NERVES
|
||||
var/prev_coeff
|
||||
|
||||
/datum/bioware/grounded_nerves/on_gain()
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/datum/bioware/spliced_nerves
|
||||
name = "Spliced Nerves"
|
||||
desc = "Nerves are connected to each other multiple times, greatly reducing the impact of stunning effects."
|
||||
mod_type = "nerves"
|
||||
mod_type = BIOWARE_NERVES
|
||||
|
||||
/datum/bioware/spliced_nerves/on_gain()
|
||||
..()
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/datum/bioware/threaded_veins
|
||||
name = "Threaded Veins"
|
||||
desc = "The circulatory system is woven into a mesh, severely reducing the amount of blood lost from wounds."
|
||||
mod_type = "circulation"
|
||||
mod_type = BIOWARE_CIRCULATION
|
||||
|
||||
/datum/bioware/threaded_veins/on_gain()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user