mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
update std rules & add player.destroy binding
This commit is contained in:
parent
df2f24d94e
commit
d27179b6c3
9 changed files with 22 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue