mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
[s] Martial arts granted by equipped items no longer persist through cloning. (#22684)
* Martial arts no longer persist through cloning * Remove unnessecary var declarations * Combo counter --------- Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
slowdown_active = SHOES_SLOWDOWN
|
||||
magboot_state = "gravboots"
|
||||
magpulse_name = "micro gravitational traction system"
|
||||
var/datum/martial_art/grav_stomp/style = new //Only works with core and cell installed.
|
||||
var/datum/martial_art/grav_stomp/style //Only works with core and cell installed.
|
||||
var/jumpdistance = 5
|
||||
var/jumpspeed = 3
|
||||
var/recharging_rate = 6 SECONDS
|
||||
@@ -165,6 +165,10 @@
|
||||
var/obj/item/assembly/signaler/anomaly/grav/core = null
|
||||
var/obj/item/stock_parts/cell/cell = null
|
||||
|
||||
/obj/item/clothing/shoes/magboots/gravity/Initialize()
|
||||
. = ..()
|
||||
style = new()
|
||||
|
||||
/obj/item/clothing/shoes/magboots/gravity/Destroy()
|
||||
QDEL_NULL(style)
|
||||
QDEL_NULL(cell)
|
||||
|
||||
Reference in New Issue
Block a user