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:
parent
e0070501e6
commit
c55c17dd64
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue