1
0
Fork 0

Nasal/multiplayer.nas: always enable multiplayer chat when replaying.

This is an additional fix for bug 2731, ensuring that replay includes chat
messages even if we are not connected to an MP server.
This commit is contained in:
Julian Smith 2022-04-22 20:35:52 +01:00
parent e0070501e6
commit c55c17dd64

View file

@ -636,7 +636,7 @@ var mp_mode_changed = func(n) {
gui.menuEnable(menuitem, is_online or is_replaying); gui.menuEnable(menuitem, is_online or is_replaying);
} }
if (is_online) { if (is_online or is_replaying) {
if (getprop("/sim/multiplay/write-message-log") and (log_file == nil)) { if (getprop("/sim/multiplay/write-message-log") and (log_file == nil)) {
var t = props.globals.getNode("/sim/time/real"); var t = props.globals.getNode("/sim/time/real");
if (t == nil) if (t == nil)