Skip to content

Commit

Permalink
Fix: Ru characters mentor logs, server logs, AI laws fixes (#67)
Browse files Browse the repository at this point in the history
Ru characters mentor logs, server logs, AI laws fixes
@Russnake1231

---------

Co-authored-by: Bizzonium <[email protected]>
Co-authored-by: BeebBeebBoob <[email protected]>
Co-authored-by: Vallat <[email protected]>
Co-authored-by: Magic101lvl <[email protected]>
Co-authored-by: Krashly <[email protected]>
Co-authored-by: Holoo <[email protected]>
Co-authored-by: RuByxarik <[email protected]>
Co-authored-by: kawaiinick <[email protected]>
Co-authored-by: Russnake1231 <[email protected]>
  • Loading branch information
10 people committed Feb 15, 2023
1 parent fdeec62 commit d728e44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/getlogs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
message_admins("[key_name_admin(src)] accessed file: [path]")
switch(tgui_alert(usr,"View (in game), Open (in your system's text editor), or Download?", path, list("View", "Open", "Download")))
if ("View")
src << browse("<pre style='word-wrap: break-word;'>[html_encode(file2text(file(path)))]</pre>", list2params(list("window" = "viewfile.[path]")))
src << browse("<pre style='word-wrap: break-word;'> <meta charset='UTF-8'> [html_encode(file2text(file(path)))]</pre>", list2params(list("window" = "viewfile.[path]")))
if ("Open")
src << run(file(path))
if ("Download")
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mentor/mentor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ GLOBAL_PROTECT(mentor_href_token)
set category = "Admin"
set name = "Mentor Logs"
set desc = "Check what mentors have done for this round."
var/dat = "<B>Mentor Log<HR></B>"
var/dat = " <meta charset='UTF-8'> <B>Mentor Log<HR></B>"
for(var/l in GLOB.mentorlog)
dat += "<li>[l]</li>"

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/silicon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
///Gives you a link-driven interface for deciding what laws the statelaws() proc will share with the crew.
/mob/living/silicon/proc/checklaws()
laws_sanity_check()
var/list = "<b>Which laws do you want to include when stating them for the crew?</b><br><br>"
var/list = " <meta charset='UTF-8'> <b>Which laws do you want to include when stating them for the crew?</b><br><br>"

var/law_display = "Yes"
if (laws.zeroth)
Expand Down

0 comments on commit d728e44

Please sign in to comment.