aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts
diff options
context:
space:
mode:
authorNoCatt <86153630+NoCatt@users.noreply.github.com>2023-02-25 22:52:08 +0100
committerGitHub <noreply@github.com>2023-02-25 22:52:08 +0100
commit554761ab629418048e367c7ba1504acd87b5b6e1 (patch)
tree3074bf784f45cda08f2c48da20dc222be1b53ad9 /Northstar.Client/mod/scripts/vscripts
parent12cf8b98dea6407c031f3117b5c295480c87183a (diff)
downloadNorthstarMods-554761ab629418048e367c7ba1504acd87b5b6e1.tar.gz
NorthstarMods-554761ab629418048e367c7ba1504acd87b5b6e1.zip
Fix chat messages when dead (#574)
* Fix chat messages when dead * Spoons fix was better Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/_custom_codecallbacks_client.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/_custom_codecallbacks_client.gnut b/Northstar.Client/mod/scripts/vscripts/_custom_codecallbacks_client.gnut
index 277ed030..db4865ee 100644
--- a/Northstar.Client/mod/scripts/vscripts/_custom_codecallbacks_client.gnut
+++ b/Northstar.Client/mod/scripts/vscripts/_custom_codecallbacks_client.gnut
@@ -23,7 +23,7 @@ struct {
void function OnReceivedMessage(ClClient_MessageStruct localMessage) {
- if ( IsWatchingReplay() )
+ if ( IsWatchingReplay() && localMessage.player == null )
return
if (localMessage.player != null)