tgui usr to ui.user

This commit is contained in:
Kashargul
2024-11-13 00:49:17 +01:00
parent 49d89c0059
commit 32c9f971bc
120 changed files with 1037 additions and 1061 deletions
+2 -2
View File
@@ -195,6 +195,6 @@
switch(action)
if("vote")
if(params["target"] in choices)
voted[usr.ckey] = params["target"]
voted[ui.user.ckey] = params["target"]
else
message_admins(span_warning("User [key_name_admin(usr)] spoofed a vote in the vote panel!"))
message_admins(span_warning("User [key_name_admin(ui.user)] spoofed a vote in the vote panel!"))