Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eigenstasium Fix #82930

Merged
merged 2 commits into from Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions code/datums/eigenstate.dm
Expand Up @@ -119,8 +119,7 @@ GLOBAL_DATUM_INIT(eigenstate_manager, /datum/eigenstate_manager, new)
spark_time = world.time
//Calls a special proc for the atom if needed (closets use bust_open())
SEND_SIGNAL(eigen_target, COMSIG_EIGENSTATE_ACTIVATE)
if(!subtle)
return COMPONENT_CLOSET_INSERT_INTERRUPT
return COMPONENT_CLOSET_INSERT_INTERRUPT

///Prevents tool use on the item
/datum/eigenstate_manager/proc/tool_interact(atom/source, mob/user, obj/item/item)
Expand Down
Expand Up @@ -116,6 +116,6 @@
var/list/lockers = list()
for(var/obj/structure/closet/closet in exposed_turf.contents)
lockers += closet
if(!length(lockers))
if(!lockers.len)
return
GLOB.eigenstate_manager.create_new_link(lockers)
GLOB.eigenstate_manager.create_new_link(lockers, subtle = FALSE)