summaryrefslogtreecommitdiff
path: root/client/index.html
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2023-01-12 22:53:04 +0100
committerjak1 <jak1@themanaworld.org>2023-01-12 22:53:44 +0100
commit72f19788ce5785262d52c43c5e752aa42797a971 (patch)
treeafc40fa877dc32a83b084e570e732fafe32f3621 /client/index.html
parent6851946d830728cda28c7eaa74c57f3a423d3790 (diff)
downloadthepixelworld-72f19788ce5785262d52c43c5e752aa42797a971.tar.gz
thepixelworld-72f19788ce5785262d52c43c5e752aa42797a971.tar.bz2
thepixelworld-72f19788ce5785262d52c43c5e752aa42797a971.tar.xz
thepixelworld-72f19788ce5785262d52c43c5e752aa42797a971.zip
added command: @hide
Diffstat (limited to 'client/index.html')
-rw-r--r--client/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/index.html b/client/index.html
index 4bb4a1c..c961d93 100644
--- a/client/index.html
+++ b/client/index.html
@@ -204,6 +204,7 @@
self.shift = false;
self.sit = false;
self.inInventory = false;
+ self.ignorePlayerAttack = initPack.ignorePlayerAttacky;
self.drawPlayer = function(){
var x = self.x - Player.list[selfId].x + WIDTH/2;
@@ -310,6 +311,8 @@
p.sit = pack.sit;
if (pack.inInventory !== undefined)
p.inInventory = pack.inInventory;
+ if (pack.ignorePlayerAttack != undefined)
+ p.ignorePlayerAttack = pack.ignorePlayerAttack;
}
}
for(var i = 0; i < data.bullet.length; i++){