mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-04 09:43:00 +02:00
Disable the additional console chat sound due to causing multiple sounds to be played at the same time. Might add it as an option in the future.
This commit is contained in:
parent
7bf5b21b6d
commit
73aa900e35
@ -463,8 +463,7 @@ function ShareChatBetweenForces(player, msg)
|
||||
(force.name ~= "neutral") and
|
||||
(force.name ~= "player") and
|
||||
(force ~= player.force)) then
|
||||
CompatSend(force, {"", player.name, ": ", msg}, { color = player.color, sound = defines.print_sound.never})
|
||||
force.play_sound{ path = "utility/scenario_message", volume_modifier = 1 }
|
||||
CompatSend(force, {"", player.name, ": ", msg}, { color = player.color })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user