update std rules & add player.destroy binding

This commit is contained in:
MihailRis
2024-11-06 21:28:12 +03:00
parent df2f24d94e
commit d27179b6c3
9 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ function submit(text)
if name == nil then
name = text
end
if not rules.get("cheat-commands") and table.has(console.cheats, name) then
if not rules.get("allow-cheats") and table.has(console.cheats, name) then
console.log("cheat commands are disabled")
document.prompt.text = ""
document.prompt.focused = true