fix UT2k4
This commit is contained in:
@@ -160,9 +160,19 @@ class RconUTEngineWebAdminUT2k4(RconUTEngineWebAdmin.RconUTEngineWebAdminMODCENT
|
||||
result["bWeaponStay"] = ServerGame["bWeaponStay"]
|
||||
else:
|
||||
result["bWeaponStay"] = None
|
||||
result["SpawnProtectionTime"] = ServerGame["SpawnProtectionTime"]
|
||||
|
||||
if "SpawnProtectionTime" in ServerGame:
|
||||
result["SpawnProtectionTime"] = ServerGame["SpawnProtectionTime"]
|
||||
else:
|
||||
result["SpawnProtectionTime"] = None
|
||||
|
||||
result["bAllowBehindView"] = ServerRules["bAllowBehindView"]
|
||||
result["bAllowWeaponThrowing"] = ServerRules["bAllowWeaponThrowing"]
|
||||
|
||||
if "bAllowWeaponThrowing" in ServerGame:
|
||||
result["bAllowWeaponThrowing"] = ServerRules["bAllowWeaponThrowing"]
|
||||
else:
|
||||
result["bAllowWeaponThrowing"] = None
|
||||
|
||||
result["bWeaponShouldViewShake"] = ServerRules["bWeaponShouldViewShake"]
|
||||
result["bAllowPrivateChat"] = ServerRules["bAllowPrivateChat"]
|
||||
result["bAllowTaunts"] = ServerRules["bAllowTaunts"]
|
||||
|
||||
@@ -7,4 +7,4 @@ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Unported
|
||||
You should have received a copy of the license along with this
|
||||
work. If not, see <https://creativecommons.org/licenses/by-nc-sa/4.0/>.
|
||||
"""
|
||||
__version__ = "0.1.12"
|
||||
__version__ = "0.1.13"
|
||||
|
||||
Reference in New Issue
Block a user