forked from noxious/client
Prepping to work on Placed map objects
This commit is contained in:
@ -89,8 +89,6 @@ function handlePointer(pointer: Phaser.Input.Pointer) {
|
||||
// Check if shift is not pressed, this means we are moving the camera
|
||||
if (pointer.event.shiftKey) return
|
||||
|
||||
if (mapEditor.drawMode.value !== 'blocking tile' && mapEditor.drawMode.value !== 'teleport') return
|
||||
|
||||
switch (mapEditor.tool.value) {
|
||||
case 'pencil': pencil(pointer, map) ; break
|
||||
case 'eraser': erase(pointer, map) ; break
|
||||
|
Reference in New Issue
Block a user