mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-30 04:30:58 +02:00
Update commands.lua
Added suggested text fixes and cleared up lua check failures.
This commit is contained in:
parent
c674c1b5e5
commit
166186c11b
@ -70,7 +70,7 @@ local function map_cleared(player)
|
||||
for i = 1, #static_entities_to_check do
|
||||
local name = static_entities_to_check[i]
|
||||
if get_entity_count(name) > 0 then
|
||||
player.print('All enemy spawners, worms, buildings, biters and spitters must be cleared for non-admin restart.')
|
||||
player.print('All enemy spawners, worms, buildings, biters and spitters must be cleared before crashsite can be restarted.')
|
||||
return false
|
||||
end
|
||||
end
|
||||
@ -84,7 +84,7 @@ local function map_cleared(player)
|
||||
|
||||
-- Return false if more than 20 left. Players have had problems finding the last few biters so set to a reasonable value.
|
||||
if biter_total > 20 then
|
||||
player.print('All enemy spawners, worms, buildings are dead. Crashsite can be restarted when more biters are killed.')
|
||||
player.print('All enemy spawners, worms, buildings are dead. Crashsite can be restarted when all biters and spitters are killed.')
|
||||
return false
|
||||
end
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user