This commit is contained in:
Lzimann
2017-05-27 10:45:26 -03:00
parent 8b14ea1aeb
commit 84ecf120b9
3 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -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]
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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]))