diff --git a/src/js/eventSelectionJS.js b/src/js/eventSelectionJS.js
index 47042b1ad38389be979b626ef3d102b08a55a76e..e39c8f0c97daefa49d5494bef9391a826e7c0e97 100644
--- a/src/js/eventSelectionJS.js
+++ b/src/js/eventSelectionJS.js
@@ -1627,7 +1627,7 @@ window.generateRandomEventPoolStandard = function(eventSlave) {
 			}
 		}
 
-		if (isAmputee(slave)) {
+		if (isAmputee(eventSlave)) {
 			if (eventSlave.devotion > 20) {
 				if (eventSlave.anus > 0 && canDoAnal(eventSlave)) {
 					State.variables.RESSevent.push("devoted amp");