Minor fixes & remove double space
This commit is contained in:
parent
db07c55f53
commit
10d6930807
@ -247,6 +247,7 @@ Void SetML() {
|
||||
<script><!--
|
||||
#Include "TextLib" as TL
|
||||
#Include "MathLib" as ML
|
||||
#Include "Libs/Nadeo/CommonLibs/Common/Log.Script.txt" as Log
|
||||
|
||||
#Struct K_PlayerPhysics {
|
||||
Real AccelCoef;
|
||||
@ -468,8 +469,7 @@ Void SetML() {
|
||||
// Events
|
||||
foreach(Event in PendingEvents) {
|
||||
if (Owner != Null && Owner.SpawnStatus == CSmPlayer::ESpawnStatus::Spawned) {
|
||||
if (Event.Type == CMlScriptEvent::Type::MouseClick && TL::Find("_EffectButton" Event.ControlId, True, True)) {
|
||||
|
||||
if (Event.Type == CMlScriptEvent::Type::MouseClick && TL::Find("_EffectButton", Event.ControlId, True, True)) {
|
||||
declare Text Effect = TL::Replace(Event.ControlId, "_EffectButton", "");
|
||||
declare Text Target;
|
||||
if (Net_PlayerIsAdmin && Last_ControledByAdmins) Target = "all";
|
||||
|
Loading…
Reference in New Issue
Block a user