overlaytopleft/games-fps/gzdoom/files/0051-Update-service.zs.patch

26 lines
806 B
Diff
Raw Normal View History

From d229f9bfaf95dd057f116f72704c74134a511ff6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= <ricolvs123@gmail.com>
Date: Wed, 14 Jun 2023 20:33:30 -0300
Subject: [PATCH 51/51] Update service.zs
---
wadsrc/static/zscript/engine/service.zs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wadsrc/static/zscript/engine/service.zs b/wadsrc/static/zscript/engine/service.zs
index 26102b0a2..8090fff37 100644
--- a/wadsrc/static/zscript/engine/service.zs
+++ b/wadsrc/static/zscript/engine/service.zs
@@ -56,7 +56,7 @@ class Service abstract
}
static Service Find(class<Service> serviceName){
- return AllServices.GetIfExists(serviceName.GetClassName());
+ return AllServices.Get(serviceName.GetClassName());
}
}
--
2.39.3