mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
AI spawning fixes
This commit is contained in:
@@ -232,9 +232,8 @@ var/round_start_time = 0
|
|||||||
|
|
||||||
votetimer()
|
votetimer()
|
||||||
|
|
||||||
for(var/mob/M in mob_list)
|
for(var/mob/new_player/N in mob_list)
|
||||||
if(istype(M,/mob/new_player))
|
if(N.client)
|
||||||
var/mob/new_player/N = M
|
|
||||||
N.new_player_panel_proc()
|
N.new_player_panel_proc()
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ var/global/list/empty_playable_ai_cores = list()
|
|||||||
loc_landmark = sloc
|
loc_landmark = sloc
|
||||||
|
|
||||||
forceMove(loc_landmark.loc)
|
forceMove(loc_landmark.loc)
|
||||||
|
view_core()
|
||||||
|
|
||||||
// Before calling this, make sure an empty core exists, or this will no-op
|
// Before calling this, make sure an empty core exists, or this will no-op
|
||||||
/mob/living/silicon/ai/proc/moveToEmptyCore()
|
/mob/living/silicon/ai/proc/moveToEmptyCore()
|
||||||
@@ -73,6 +74,6 @@ var/global/list/empty_playable_ai_cores = list()
|
|||||||
empty_playable_ai_cores -= C
|
empty_playable_ai_cores -= C
|
||||||
|
|
||||||
forceMove(C.loc)
|
forceMove(C.loc)
|
||||||
|
view_core()
|
||||||
|
|
||||||
qdel(C)
|
qdel(C)
|
||||||
|
|||||||
@@ -37,7 +37,9 @@
|
|||||||
O.add_ai_verbs()
|
O.add_ai_verbs()
|
||||||
|
|
||||||
O.rename_self("AI",1)
|
O.rename_self("AI",1)
|
||||||
qdel(src)
|
|
||||||
|
spawn()
|
||||||
|
qdel(src)
|
||||||
return O
|
return O
|
||||||
|
|
||||||
/mob/living/carbon/human/make_into_mask(var/should_gib = 0)
|
/mob/living/carbon/human/make_into_mask(var/should_gib = 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user