Browse Source

Fixed the bug: having computer and webcam blocked streaming

Netuttki 4 years ago
parent
commit
d831531541
1 changed files with 2 additions and 4 deletions
  1. 2 4
      locations/music_onlinemusic.qsrc

+ 2 - 4
locations/music_onlinemusic.qsrc

@@ -19,7 +19,6 @@ end
 
 
 if $ARGS[0] = 'liveStream':	
-	if komp = 0 or webcamera = 0:
 !!	TODO: Much, much better scene needed.
 		ml_streaming['times_streamed'] += 1		
 		minut += ml_streamtime
@@ -47,6 +46,8 @@ if $ARGS[0] = 'liveStream':
 		ml_streaming['total_earnings'] += ml_superchats		
 		ml_streaming['unclaimed_earnings'] += ml_superchats
 		
+!!	TODO: The old if komp = 0 or webcamera = 0 should come down here with different text based on whether a computer and webcamera is used or just the phone.
+
 		'<center><img <<$set_imgh>> src="images/pc/activities/music/gomixer_hero.jpg"/></center>'
 		'You set up your phone on a little tri-pod and log into your account. After settling down comfortably, you start to stream.'			
 		'Your fans tipped you <<ml_superchats>> rubels for your performance.'
@@ -81,9 +82,6 @@ if $ARGS[0] = 'liveStream':
 				end
 			end
 		end
-
-	end
-	
 end
 
 if $ARGS[0] = 'recordSong':