Event Map Refactor (#12329)

This commit is contained in:
Geeves
2021-09-23 13:34:47 -03:00
committed by GitHub
parent 9a68ae6022
commit fdddb91bd1
16 changed files with 149 additions and 46 deletions
@@ -80,7 +80,13 @@
mind = body.mind //we don't transfer the mind but we keep a reference to it.
if(!T) T = pick(latejoin) //Safety in case we cannot find the body's position
if(!T)
if(length(latejoin))
T = pick(latejoin) //Safety in case we cannot find the body's position
else if(length(force_spawnpoints["Anyone"]))
T = pick(force_spawnpoints["Anyone"])
else
T = locate(1, 1, 1)
forceMove(T)
if(!name) //To prevent nameless ghosts