mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Converts many proc overrides to properly use list/modifiers, lots of other smaller things (#56847)
Converts many proc overrides to properly use list/modifiers, fixes some spots where modifiers should have been passed, calls modifiers what it is, a lazy list, and cleans up some improper arg names like L, M, C, and N. Oh and I think there was a spot where someone was trying to pass M.name in as a string, but forgot to wrap it in []. I fixed that too.
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
. = ..()
|
||||
AddComponent(spawner_type, mob_types, spawn_time, faction, spawn_text, max_mobs)
|
||||
|
||||
/obj/structure/spawner/attack_animal(mob/living/simple_animal/M)
|
||||
if(faction_check(faction, M.faction, FALSE)&&!M.client)
|
||||
/obj/structure/spawner/attack_animal(mob/living/simple_animal/user, list/modifiers)
|
||||
if(faction_check(faction, user.faction, FALSE) && !user.client)
|
||||
return
|
||||
..()
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/structure/spawner/syndicate
|
||||
|
||||
Reference in New Issue
Block a user