Skip to content

Commit

Permalink
Update xChat emoji reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorAU committed Oct 18, 2020
1 parent d53b596 commit fb2406f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mission/functions/systems/fn_roundOver.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ switch _mode do {
] call (missionNameSpace getVariable["DiscordRichPresence_fnc_update",{}]);

// https://github.com/ConnorAU/A3ExtendedChat
private _emoji = ["getImage","party_popper"] call (missionNameSpace getVariable ["CAU_xChat_fnc_emoji",{""}]);
["systemChat",format["%1 %2 won the round! %1",[":party_popper:",""] select (_emoji == ""),_winnerName]] call (missionNameSpace getVariable ["CAU_xChat_fnc_sendMessage",{}]);
private _emoji = ["getImage","tada"] call (missionNameSpace getVariable ["CAU_xChat_fnc_emoji",{""}]);
systemChat format["%1 %2 won the round! %1",[":tada:",""] select (_emoji == ""),_winnerName];

[format[
"<t size='1.5' shadow=2><t color='%2'>%1</t> won the round!</t>",_winnerName,
Expand Down

0 comments on commit fb2406f

Please sign in to comment.