From fe5deac41eeec0f04bb138546a3e8651d05ae18a Mon Sep 17 00:00:00 2001 From: FutureRave Date: Wed, 3 May 2023 11:57:36 +0100 Subject: [PATCH] fix: add back epic function --- iw4x/iw4x_00/common_scripts/utility.gsc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/iw4x/iw4x_00/common_scripts/utility.gsc b/iw4x/iw4x_00/common_scripts/utility.gsc index 1a01653..40c0dd5 100644 --- a/iw4x/iw4x_00/common_scripts/utility.gsc +++ b/iw4x/iw4x_00/common_scripts/utility.gsc @@ -3847,6 +3847,21 @@ create_dvar( var, val ) SetDvarIfUninitialized( var, val ); } +/* +============= +///ScriptDocBegin +"Name: getPing()" +"Summary: Returns a fixed number for backwards compatibility" +"Module: Utility" +"Example: self getPing();" +"SPMP: multiplayer" +///ScriptDocEnd +============= +*/ +getPing() +{ + return 1; +} void() {