mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
made grilleds well console save #43
This commit is contained in:
parent
ea540a4a62
commit
841feb9e27
@ -56,13 +56,13 @@ function create_well(entity, item, items_per_second)
|
||||
local error = validate(item, items_per_second)
|
||||
if error then
|
||||
return error
|
||||
end
|
||||
end
|
||||
|
||||
non_validating_create_well(entity, item, items_per_second)
|
||||
non_validating_create_well(entity, item, items_per_second)
|
||||
end
|
||||
|
||||
function well_command(cmd)
|
||||
if not game.player.admin then
|
||||
if not game.player or not game.player.admin then
|
||||
cant_run(cmd.name)
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user