mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 01:57:01 +00:00
Fixes ai transform being picky
The fact ai transform even forces them to an ai loc is iffy as the admin might want them to be an ai at their current location, but this is more sane.
This commit is contained in:
committed by
GitHub
parent
707b04d8ed
commit
074d2d0b34
@@ -344,8 +344,8 @@
|
|||||||
landmark_loc += sloc.loc
|
landmark_loc += sloc.loc
|
||||||
|
|
||||||
if(!landmark_loc.len)
|
if(!landmark_loc.len)
|
||||||
message_admins("[src] cannot be made an AI as there are no valid spawn points. Yell at a mapper!")
|
message_admins("Could not find ai landmark for [src]. Yell at a mapper! We are spawning them at their current location.")
|
||||||
return
|
landmark_loc += loc
|
||||||
|
|
||||||
if(client)
|
if(client)
|
||||||
stop_sound_channel(CHANNEL_LOBBYMUSIC)
|
stop_sound_channel(CHANNEL_LOBBYMUSIC)
|
||||||
|
|||||||
Reference in New Issue
Block a user