Skip to content

Commit

Permalink
Поправил add_commend/add_uncommend.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Jan 8, 2025
1 parent 0ed835d commit d66d16a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions code/modules/admin/playerquality.dm
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@
fdel(json_file)
WRITE_FILE(json_file, json_encode(json))

var/fakekey = usr.ckey
if(usr.ckey in GLOB.anonymize)
fakekey = get_fake_key(usr.ckey)
var/fakekey = giver.ckey
if(giver.ckey in GLOB.anonymize)
fakekey = get_fake_key(giver.ckey)

var/raisin = stripped_input("Укажите краткую причину этого изменения", "Симулятор Бога", "", null)
if(!raisin)
Expand Down
6 changes: 3 additions & 3 deletions code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1204,9 +1204,9 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
fdel(json_file)
WRITE_FILE(json_file, json_encode(json))

var/fakekey = usr.ckey
if(usr.ckey in GLOB.anonymize)
fakekey = get_fake_key(usr.ckey)
var/fakekey = giver.ckey
if(giver.ckey in GLOB.anonymize)
fakekey = get_fake_key(giver.ckey)

var/raisin = stripped_input("Укажите краткую причину этого изменения", "Симулятор Бога", "", null)
if(!raisin)
Expand Down

0 comments on commit d66d16a

Please sign in to comment.