Procházet zdrojové kódy

[fixed] no work exit

Lusticon před 2 měsíci
rodič
revize
d15468fdc3
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      locations/stripclub.qsrc

+ 3 - 1
locations/stripclub.qsrc

@@ -352,7 +352,9 @@ end
 	!!end
 !!end
 if $ARGS[0] = 'work_leave':
-	if cfnm = 0:
+	if stripwork+stripwork1+stripbarwork+stripbarwork1 = 0:
+		gt 'city_redlight', 'start'
+	elseif cfnm = 0:
 		gt 'stripclub', 'forman'
 	elseif cfnm = 1:
 		gt 'stripclub', 'forwoman'