mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Fixes a bad assignment of parent in spirit holding component (#72999)
## About The Pull Request `parent` is a reference to the datum parent of the component, but this was assigning it to a string for some reason? I just removed it. It doesn't seem to be doing anything anyways ~~I was going to make parent a private variable but too many things access it for some weird reason. Kinda wack~~ ## Why It's Good For The Game Bad code ## Changelog 🆑 Melbert fix: Maybe fixes some issues with spirit holding, particularly relating to it being in-exorcism-able. /🆑
This commit is contained in:
@@ -81,8 +81,7 @@
|
||||
|
||||
// Now that all of the important things are in place for our spirit, it's time for them to choose their name.
|
||||
var/valid_input_name = custom_name(awakener)
|
||||
if(parent && valid_input_name)
|
||||
parent = valid_input_name
|
||||
if(valid_input_name)
|
||||
bound_spirit.fully_replace_character_name(null, "The spirit of [valid_input_name]")
|
||||
|
||||
attempting_awakening = FALSE
|
||||
|
||||
Reference in New Issue
Block a user