Comments (1)
I'd say your explanation is right on the money. Me for my part I wouldn't try to fix it - I don't do multipayer 🙃
I imagine something like
Index: core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt b/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt
--- a/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt (revision 7dfa6682e08ebd353e45aa5b81888be776224737)
+++ b/core/src/com/unciv/ui/screens/worldscreen/WorldMapHolder.kt (date 1712564309911)
@@ -967,6 +967,7 @@
if (exploredRegion.shouldRecalculateCoords()) exploredRegion.calculateStageCoords(maxX, maxY)
if (!exploredRegion.shouldRestrictX()) return result
+ if (worldScreen.viewingCiv.isSpectator()) return result
val leftX = exploredRegion.getLeftX()
val rightX = exploredRegion.getRightX()
@@ -984,6 +985,7 @@
var result = scrollY + deltaY
if (exploredRegion.shouldRecalculateCoords()) exploredRegion.calculateStageCoords(maxX, maxY)
+ if (worldScreen.viewingCiv.isSpectator()) return result
val topY = exploredRegion.getTopY()
val bottomY = exploredRegion.getBottomY()
from unciv.
Related Issues (20)
- Pressing a button while pressing the worldscreen softlocks
- Resource spawn rate dwindled HOT 4
- Feature request: Allow to extend workable tiles of a city through a modifier or tile improvement HOT 4
- City-State quest "Invest" does not end after its turn limit is reached HOT 2
- Game won't open unless i swipe it out on multitask screen HOT 6
- River cannot be added on consol? HOT 6
- Option window cant be closed by clicking out of it HOT 1
- Feature request: the City-state "Manila" be renamed to "Maynila" HOT 1
- Warrior vanished from map HOT 7
- Russian translation for number of civilizations too long HOT 5
- Cannot Build HOT 4
- Feature request: Button to disband units in overview HOT 9
- FPS cap HOT 7
- Window mode issues HOT 3
- "Hidden from users" not hiding triggerable effect on event notification HOT 4
- When i tap to chek how mi relationship with a country is going, give me an error HOT 3
- Function to disable mods HOT 2
- Promotion crash HOT 3
- Wrong city-state shown in notification log after being destroyed HOT 11
- Automated units and actions HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unciv.