Created
September 11, 2019 15:52
-
-
Save shibbo/e5801cffac60c18c1feb701c20e606cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ElectricRail::attackSensor(HitSensor *a1, HitSensor *a2) | |
{ | |
if (MR::isSensorPlayer(a1)) | |
{ | |
if (!MR::isPlayerSquat()) | |
MR::sendMsgEnemyAttackElectric(a1, a2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment