mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-17 11:14:11 +01:00
[MIRROR] up ports a bunch of TGS commands (#11173)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
42b68b856b
commit
0160eb3e68
@@ -867,7 +867,7 @@
|
||||
message_admins(span_blue("[usr.client.ckey] has banned [M.ckey].\nReason: [reason]\nThis will be removed in [mins] minutes."))
|
||||
var/datum/ticket/T = M.client ? M.client.current_ticket : null
|
||||
if(T)
|
||||
T.Resolve()
|
||||
T.Resolve(usr)
|
||||
qdel(M.client)
|
||||
// CHOMPedit End
|
||||
//qdel(M) // See no reason why to delete mob. Important stuff can be lost. And ban can be lifted before round ends.
|
||||
@@ -896,7 +896,7 @@
|
||||
DB_ban_record(BANTYPE_PERMA, M, -1, reason)
|
||||
var/datum/ticket/T = M.client ? M.client.current_ticket : null
|
||||
if(T)
|
||||
T.Resolve()
|
||||
T.Resolve(usr)
|
||||
qdel(M.client)
|
||||
//qdel(M)
|
||||
if("Cancel")
|
||||
|
||||
@@ -213,8 +213,11 @@
|
||||
if(!istype(target))
|
||||
return
|
||||
|
||||
var/real_user = user ? user : usr
|
||||
var/user_name = real_user ? key_name(real_user) : "Remotely (Discord)"
|
||||
|
||||
to_chat(target,"You've been hit by bluespace artillery!")
|
||||
log_and_message_admins("has been hit by Bluespace Artillery fired by [key_name(user ? user : usr)]", target)
|
||||
log_and_message_admins("has been hit by Bluespace Artillery fired by [user_name]", target)
|
||||
|
||||
target.setMoveCooldown(2 SECONDS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user