File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ var element;
44var drawingArea ;
55var width ;
66var height ;
7- var mute = false ;
87var volume = 0.6 ;
98
109var scale_factor = 6 ,
@@ -220,8 +219,7 @@ function playSound(size, type) {
220219function playFromQueueExchange1 ( ) {
221220 var event = eventQueue . shift ( ) ;
222221 if ( event != null && event . message != null && svg != null ) {
223- if ( ! mute )
224- playSound ( event . message . length * 1.1 , event . type ) ;
222+ playSound ( event . message . length * 1.1 , event . type ) ;
225223 if ( ! document . hidden )
226224 drawEvent ( event , svg ) ;
227225 }
@@ -232,8 +230,7 @@ function playFromQueueExchange1(){
232230function playFromQueueExchange2 ( ) {
233231 var event = eventQueue . shift ( ) ;
234232 if ( event != null && event . message != null && svg != null ) {
235- if ( ! mute )
236- playSound ( event . message . length , event . type ) ;
233+ playSound ( event . message . length , event . type ) ;
237234 if ( ! document . hidden )
238235 drawEvent ( event , svg ) ;
239236 }
You can’t perform that action at this time.
0 commit comments