Oops, forgot double =

This commit is contained in:
ScrawnyRonnie 2023-10-25 08:45:31 -04:00 committed by GitHub
parent 3af79eeb98
commit 3a531bba59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class Terminal(tdef: TerminalDefinition) extends Amenity with Hackable {
* @return an actionable message that explains what resulted from interacting with this `Terminal`
*/
def Request(player: Player, msg: Any): Terminal.Exchange = {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.ObjectType = "vanu_core") {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.ObjectType == "vanu_core") {
tdef.Request(player, msg)
} else {
Terminal.NoDeal()