diff options
author | Emma Miler <27428383+emma-miler@users.noreply.github.com> | 2022-02-08 02:42:52 +0100 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-02-10 17:51:54 -0300 |
commit | c90ed2ba68c5f040c22b2e0cdc642b9015da39ed (patch) | |
tree | 8fbdae9c3c169bf5595f9edde5e44f4008a1bc9e | |
parent | b62ffb3dee3700d044a51e31ef5f62584048dfa3 (diff) | |
download | NorthstarMods-c90ed2ba68c5f040c22b2e0cdc642b9015da39ed.tar.gz NorthstarMods-c90ed2ba68c5f040c22b2e0cdc642b9015da39ed.zip |
Fixed typo
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/_custom_codecallbacks.gnut | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_custom_codecallbacks.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_custom_codecallbacks.gnut index b535f327..7f102f6e 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/_custom_codecallbacks.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/_custom_codecallbacks.gnut @@ -10,15 +10,15 @@ global struct ClServer_MessageStruct { } struct { - array< ClServer_MessageStruct functionref( ClServer_MessageStruct ) > OnRecievedSayTextMessageCallbacks + array< ClServer_MessageStruct functionref( ClServer_MessageStruct ) > OnReceivedSayTextMessageCallbacks } NsCustomCallbacks void function CServerGameDLL_ProcessMessageStartThread() { - thread CServerGameDLL_OnRecievedSayTextMessageCallback() + thread CServerGameDLL_OnReceivedSayTextMessageCallback() } -void function CServerGameDLL_OnRecievedSayTextMessageCallback() +void function CServerGameDLL_OnReceivedSayTextMessageCallback() { ClServer_MessageStruct localMessage localMessage.message = NSChatGetCurrentMessage() @@ -26,7 +26,7 @@ void function CServerGameDLL_OnRecievedSayTextMessageCallback() localMessage.channelId = NSChatGetCurrentChannel() localMessage.shouldBlock = false - foreach ( callbackFunc in NsCustomCallbacks.OnRecievedSayTextMessageCallbacks ) + foreach ( callbackFunc in NsCustomCallbacks.OnReceivedSayTextMessageCallbacks ) { ClServer_MessageStruct returnStruct = callbackFunc(localMessage) localMessage.message = returnStruct.message @@ -38,7 +38,7 @@ void function CServerGameDLL_OnRecievedSayTextMessageCallback() NSSetMessage(localMessage.message, localMessage.player.GetPlayerIndex(), localMessage.channelId, localMessage.shouldBlock) } -void function AddCallback_OnRecievedSayTextMessage( ClServer_MessageStruct functionref (ClServer_MessageStruct) callbackFunc ) +void function AddCallback_OnReceivedSayTextMessage( ClServer_MessageStruct functionref (ClServer_MessageStruct) callbackFunc ) { - NsCustomCallbacks.OnRecievedSayTextMessageCallbacks.append(callbackFunc) + NsCustomCallbacks.OnReceivedSayTextMessageCallbacks.append(callbackFunc) }
\ No newline at end of file |