[MIRROR] Add logging to teleport and the teleporter destination setting (#7225)

* Add logging to teleport and the teleporter destination setting (#38645)

Helps with some admin issues

* Add logging to teleport and the teleporter destination setting
This commit is contained in:
CitadelStationBot
2018-06-22 02:34:41 -05:00
committed by kevinz000
parent f02a99f901
commit 386bc528ea
3 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,7 @@
tele_play_specials(teleatom, curturf, effectin, asoundin)
var/success = force_teleport ? teleatom.forceMove(destturf) : teleatom.Move(destturf)
if (success)
log_game("[teleatom] ([key_name(teleatom)]) has teleported from [AREACOORD(curturf)] to [AREACOORD(destturf)]")
tele_play_specials(teleatom, destturf, effectout, asoundout)
if(ismegafauna(teleatom))
message_admins("[teleatom] [ADMIN_FLW(teleatom)] has teleported from [ADMIN_VERBOSEJMP(curturf)] to [ADMIN_VERBOSEJMP(destturf)].")