mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 10:04:30 +01:00
Better
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
client.view = world.view // Resets the client.view in case it was changed.
|
||||
|
||||
if(!LAZYLEN(GLOB.individual_log_list[ckey]))
|
||||
GLOB.individual_log_list[ckey] = list(INDIVIDUAL_ATTACK_LOG, INDIVIDUAL_SAY_LOG, INDIVIDUAL_EMOTE_LOG, INDIVIDUAL_OOC_LOG)
|
||||
logging = GLOB.individual_log_list[ckey]
|
||||
if(!GLOB.individual_log_list[ckey])
|
||||
GLOB.individual_log_list[ckey] = logging
|
||||
else
|
||||
logging = GLOB.individual_log_list[ckey]
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
var/computer_id = null
|
||||
var/lastattacker = null
|
||||
var/lastattacked = null
|
||||
var/list/logging
|
||||
var/list/logging = list(INDIVIDUAL_ATTACK_LOG, INDIVIDUAL_SAY_LOG, INDIVIDUAL_EMOTE_LOG, INDIVIDUAL_OOC_LOG)
|
||||
var/obj/machinery/machine = null
|
||||
var/other_mobs = null
|
||||
var/disabilities = 0 //Carbon
|
||||
|
||||
@@ -473,7 +473,7 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
|
||||
ClickOn(T)
|
||||
|
||||
/mob/proc/log_message(message, message_type)
|
||||
if(!client || !LAZYLEN(message) || !message_type)
|
||||
if(!LAZYLEN(message) || !message_type)
|
||||
return
|
||||
|
||||
if(!islist(logging[message_type]))
|
||||
|
||||
Reference in New Issue
Block a user