Преглед изворни кода

[fixed] redundent end in stat

Kevin_Smarts пре 3 година
родитељ
комит
17995f0706
1 измењених фајлова са 13 додато и 14 уклоњено
  1. 13 14
      locations/stat.qsrc

+ 13 - 14
locations/stat.qsrc

@@ -777,20 +777,19 @@ else
 				end
 			elseif trait['commando_lvl'] > 0:
 !!Reduction from exp/lvls
-					if trait['commando_lvl'] = 3:
-						trait['commando_exp'] -= 1
-						pcs_mood -= 1
-						if trait['commando_exp'] <= 0:
-							trait['commando_exp'] = 500
-							trait['commando_lvl'] = 2
-							msg'You have lost the 3rd level of the Commando trait! You are now only comfortable not wearing panties and will not suffer irritation from wearing pants while going commando.'
-						end
-					else
-						trait['commando_exp'] -= 1
-						if trait['commando_exp'] <= -0:
-							trait['commando_exp'] = 900
-							trait['commando_lvl'] -= 1
-						end
+				if trait['commando_lvl'] = 3:
+					trait['commando_exp'] -= 1
+					pcs_mood -= 1
+					if trait['commando_exp'] <= 0:
+						trait['commando_exp'] = 500
+						trait['commando_lvl'] = 2
+						msg'You have lost the 3rd level of the Commando trait! You are now only comfortable not wearing panties and will not suffer irritation from wearing pants while going commando.'
+					end
+				else
+					trait['commando_exp'] -= 1
+					if trait['commando_exp'] <= -0:
+						trait['commando_exp'] = 900
+						trait['commando_lvl'] -= 1
 					end
 				end
 			end