瀏覽代碼

[fixed] small bugs related to the new additions to the phone_selfies

anjuna krokus 5 月之前
父節點
當前提交
6de71b60a0
共有 2 個文件被更改,包括 9 次插入5 次删除
  1. 8 4
      locations/phone_selfies.qsrc
  2. 1 1
      locations/phone_selfies_popup.qsrc

+ 8 - 4
locations/phone_selfies.qsrc

@@ -193,8 +193,8 @@ if $ARGS[0] = 'Phone_selfie_totals':
 end
 
 if $ARGS[0] = 'send_selfie_handler':
-	temp_ssh_ret_loc = $ARGS[1]
-	temp_ssh_ret_arg = $ARGS[2]
+	$temp_ssh_ret_loc = $ARGS[1]
+	$temp_ssh_ret_arg = $ARGS[2]
 	temp_suppress_other_selfies = 1
 
 	gt 'phone_selfies', 'selfies'
@@ -211,8 +211,12 @@ end
 
 if $ARGS[0] = 'act_exit':
 	act 'Stop watching selfies':
-		killvar 'temp_suppress_other_selfies'
-		gt $menu_loc, $menu_arg
+		if temp_suppress_other_selfies = 0:
+			gt $menu_loc, $menu_arg
+		else
+			killvar 'temp_suppress_other_selfies'
+			gt $temp_ssh_ret_loc, $temp_ssh_ret_arg
+		end
 	end
 end
 

+ 1 - 1
locations/phone_selfies_popup.qsrc

@@ -25,7 +25,7 @@ if $ARGS[0] = 'show':
 		$selfie_last_chosen['location'] = $ARGS[1]
 		$selfie_last_chosen['type']     = $ARGS[2]
 		killvar 'temp_suppress_other_selfies'
-		gt temp_ssh_ret_loc, temp_ssh_ret_arg, temp_ssh_SMSid, 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/<<$ARGS[2]>>/<<$selfieFilePrefix[ARGS[3]]>><<ARGS[4]>>', $ARGS[1], $ARGS[2]
+		gt $temp_ssh_ret_loc, $temp_ssh_ret_arg, 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/<<$ARGS[2]>>/<<$selfieFilePrefix[ARGS[3]]>><<ARGS[4]>>.jpg', $ARGS[1], $ARGS[2]
 	end
 end