mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 10:37:17 +01:00
Removes code treating actions as a lazy list (#24971)
* this doesn't need to be lazy * fix some small things
This commit is contained in:
@@ -179,12 +179,7 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
|
||||
if(ismob(loc))
|
||||
var/mob/m = loc
|
||||
m.unEquip(src, 1)
|
||||
// actions clear themselves from the list on cut
|
||||
if(islist(actions))
|
||||
for(var/datum/action/A as anything in actions)
|
||||
qdel(A)
|
||||
if(!isnull(actions))
|
||||
actions.Cut()
|
||||
QDEL_LIST_CONTENTS(actions)
|
||||
|
||||
master = null
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user