fixes stuff, i guess.

This commit is contained in:
Alberyk
2020-04-22 13:17:19 -03:00
parent 8e9fdbe0f7
commit 60552d11c4
14 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -416,12 +416,12 @@
/obj/item/clothing/gloves/dropped()
..()
addtimer(CALLBACK(src, .proc/update_wearer), 0)
INVOKE_ASYNC(src, .proc/update_wearer)
/obj/item/clothing/gloves/mob_can_unequip()
. = ..()
if (.)
addtimer(CALLBACK(src, .proc/update_wearer), 0)
INVOKE_ASYNC(src, .proc/update_wearer)
///////////////////////////////////////////////////////////////////////
//Head
+2 -2
View File
@@ -81,12 +81,12 @@
/obj/item/clothing/shoes/magboots/dropped()
..()
addtimer(CALLBACK(src, .proc/update_wearer), 0)
INVOKE_ASYNC(src, .proc/update_wearer)
/obj/item/clothing/shoes/magboots/mob_can_unequip()
. = ..()
if (.)
addtimer(CALLBACK(src, .proc/update_wearer), 0)
INVOKE_ASYNC(src, .proc/update_wearer)
/obj/item/clothing/shoes/magboots/examine(mob/user)
..(user)
+1 -1
View File
@@ -103,7 +103,7 @@
. = ..()
name = "[initial(name)] ([spawn_category])"
addtimer(CALLBACK(src, .proc/populate_shelves), 0)
addtimer(CALLBACK(src, .proc/populate_shelves), 1)
/obj/structure/bookcase/libraryspawn/proc/populate_shelves()
if (!establish_db_connection(dbcon))
@@ -5,7 +5,7 @@
set name = "Tie Hair"
set desc = "Style your hair."
set category = "IC"
if(!use_check_and_message())
to_chat(src, span("warning", "You can't tie your hair when you are incapacitated!"))
return
@@ -928,7 +928,7 @@ mob/living/carbon/human/proc/change_monitor()
var/mob/living/carbon/human/G = new(src.loc)
G.key = O.brainmob.key
addtimer(CALLBACK(G, /mob/living/carbon/human.proc/set_species, O.dna.species), 0)
addtimer(CALLBACK(G, /mob/living/carbon/human.proc/set_species, O.dna.species), 1)
to_chat(src,"<span class='notice'>You blow life back in \the [O], returning its past owner to life!</span>")
qdel(O)
last_special = world.time + 200
@@ -407,7 +407,7 @@ var/global/list/golem_types = list("Coal Golem",
for(var/i in 1 to 5)
var/obj/item/material/shard/T = new meat_type(H.loc)
var/turf/landing = get_step(H, pick(alldirs))
addtimer(CALLBACK(T, /atom/movable/.proc/throw_at, landing, 30, 5), 0)
addtimer(CALLBACK(T, /atom/movable/.proc/throw_at, landing, 30, 5), 1)
qdel(H)
/datum/species/golem/glass/handle_post_spawn(var/mob/living/carbon/human/H)
@@ -109,7 +109,7 @@
for(var/i in 1 to 5)
var/mob/living/simple_animal/hostile/gift/T = new /mob/living/simple_animal/hostile/gift(get_turf(src))
var/turf/landing = get_step(src, pick(alldirs))
addtimer(CALLBACK(T, /atom/movable/.proc/throw_at, landing, 30, 5), 0)
addtimer(CALLBACK(T, /atom/movable/.proc/throw_at, landing, 30, 5), 1)
/mob/living/simple_animal/hostile/krampus/proc/send_to_hell(mob/living/M)
if(!M)
@@ -155,11 +155,11 @@
..()
if(source)
to_chat(user, "<span class='notice'>\The [src] snaps back onto \the [source].</span>")
addtimer(CALLBACK(source, /obj/item/minigunpack/.proc/remove_gun), 0)
addtimer(CALLBACK(source, /obj/item/minigunpack/.proc/remove_gun), 1)
source.update_icon()
user.update_inv_back()
/obj/item/gun/projectile/automatic/rifle/minigun/Move()
..()
if(loc != source.loc)
addtimer(CALLBACK(source, /obj/item/minigunpack/.proc/remove_gun), 0)
addtimer(CALLBACK(source, /obj/item/minigunpack/.proc/remove_gun), 1)
@@ -75,7 +75,7 @@
H.name += " [pick(last_names)]"
H.real_name = H.name
addtimer(CALLBACK(H, /mob/living/carbon/human.proc/set_species, randomize), 0)
addtimer(CALLBACK(H, /mob/living/carbon/human.proc/set_species, randomize), 1)
H.universal_speak = 1
var/datum/preferences/A = new() //Randomize appearance for the human
A.randomize_appearance_for(H)