It's very simple. First back up your game in case you screw it up. Then go to your global script. Find the function called "on_mouse_click". Remove (or comment out) everything inside the function brackets and replace with:
if (IsGamePaused() == 1) {
// Game is paused, so do nothing (ie. don't allow mouse click)
}
else if (button==LEFT) {ProcessClick(mouse.x, mouse.y, MODE_LOOK);}
else if (button==RIGHT) {ProcessClick(mouse.x, mouse.y, MODE_USE);}
That should work. The just make sure you only use use and look interactions. Let me know if this doesn't work.
if (IsGamePaused() == 1) {
// Game is paused, so do nothing (ie. don't allow mouse click)
}
else if (button==LEFT) {ProcessClick(mouse.x, mouse.y, MODE_LOOK);}
else if (button==RIGHT) {ProcessClick(mouse.x, mouse.y, MODE_USE);}
That should work. The just make sure you only use use and look interactions. Let me know if this doesn't work.