Minor fixes & remove double space
This commit is contained in:
		| @@ -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"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user