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()
|
||||
|
||||
for(var/mob/M in mob_list)
|
||||
if(istype(M,/mob/new_player))
|
||||
var/mob/new_player/N = M
|
||||
for(var/mob/new_player/N in mob_list)
|
||||
if(N.client)
|
||||
N.new_player_panel_proc()
|
||||
|
||||
return 1
|
||||
|
||||
@@ -61,6 +61,7 @@ var/global/list/empty_playable_ai_cores = list()
|
||||
loc_landmark = sloc
|
||||
|
||||
forceMove(loc_landmark.loc)
|
||||
view_core()
|
||||
|
||||
// Before calling this, make sure an empty core exists, or this will no-op
|
||||
/mob/living/silicon/ai/proc/moveToEmptyCore()
|
||||
@@ -73,6 +74,6 @@ var/global/list/empty_playable_ai_cores = list()
|
||||
empty_playable_ai_cores -= C
|
||||
|
||||
forceMove(C.loc)
|
||||
|
||||
view_core()
|
||||
|
||||
qdel(C)
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
O.add_ai_verbs()
|
||||
|
||||
O.rename_self("AI",1)
|
||||
|
||||
spawn()
|
||||
qdel(src)
|
||||
return O
|
||||
|
||||
|
||||
Reference in New Issue
Block a user