mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Disables export chat logs until we can get it fixed
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="ui button" @click="save_chatlog">Export Chatlog</button>
|
||||
<!-- <button class="ui button" @click="save_chatlog">Export Chatlog</button> YW EDIT: disabled until we can fix the lag -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -133,7 +133,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
|
||||
send_playerinfo()
|
||||
load_database()
|
||||
|
||||
owner.verbs += /client/proc/vchat_export_log
|
||||
//YW EDIT: disabled until we can fix the lag: owner.verbs += /client/proc/vchat_export_log
|
||||
|
||||
//Perform DB shenanigans
|
||||
/datum/chatOutput/proc/load_database()
|
||||
@@ -379,6 +379,7 @@ var/to_chat_src
|
||||
var/list/tojson = list("time" = time, "message" = message);
|
||||
target << output(jsEncode(tojson), "htmloutput:putmessage")
|
||||
|
||||
/* YW EDIT: disabled until we can fix the lag
|
||||
/client/proc/vchat_export_log()
|
||||
set name = "Export chatlog"
|
||||
set category = "OOC"
|
||||
@@ -418,4 +419,5 @@ var/to_chat_src
|
||||
if(!fdel(o_file))
|
||||
spawn(1 MINUTE)
|
||||
if(!fdel(o_file))
|
||||
log_debug("Warning: [ckey]'s chatlog could not be deleted one minute after file transfer was initiated. It is located at 'data/chatlog_tmp/[ckey]_chat_log' and will need to be manually removed.")
|
||||
log_debug("Warning: [ckey]'s chatlog could not be deleted one minute after file transfer was initiated. It is located at 'data/chatlog_tmp/[ckey]_chat_log' and will need to be manually removed.")
|
||||
*/
|
||||
Reference in New Issue
Block a user