diff --git a/code/game/json.dm b/code/game/json.dm index 65a29172197..94bd63052c1 100644 --- a/code/game/json.dm +++ b/code/game/json.dm @@ -2,7 +2,7 @@ var/jsonpath = "/home/bay12/public_html" var/dmepath = "/home/bay12/git/baystation12.dme" var/makejson = 1 //temp -world/proc/makejson() +proc/makejson() if(!makejson) return diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 087bf09b1b9..14d703cf080 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -678,7 +678,7 @@ world.update_status() ..() - + makejson() if (join_motd) src << "
[join_motd]
" @@ -696,6 +696,7 @@ spawn(0) if(holder) del(holder) + makejson() return ..() /mob/proc/can_use_hands()